Permalink
Browse files

fix prio mapping with alert

  • Loading branch information...
1 parent 4a94cfb commit 50f09bfc6f5bf79e72a1223e345ee720b507e56a @djcb committed Nov 5, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 sauron.el
View
@@ -685,7 +685,7 @@ alert.el (https://github.com/jwiegley/alert). You can use it like:
Obviously, 'alert.el' must be loaded for this to work."
;; sauron priorities [0..5] mapping alert severities
(when (fboundp 'alert)
- (let ((sev (nth prio '(trivial trivial low normal moderate high urgent)))
+ (let ((sev (nth prio '(trivial low normal high urgent)))
(cat origin) ;; origins map to alert categories
(title (format "Alert from %S" origin)))
(alert msg :severity sev :title title :category cat))))

1 comment on commit 50f09bf

sorry to bother but is there a reason why the "moderate" disappear?

Please sign in to comment.