jwiegley/alert

`libnotify` style fails if the category is specified as a string

iqbalansari opened this issue · 0 comments

Easiest way to reproduce this is as follows

(setq alert-default-style 'libnotify)
(alert "test" :category "test")

Evaluating the above fails with the following

(wrong-type-argument stringp t)
call-process("/usr/bin/notify-send" nil (#<buffer libnotify output> t) nil "--icon" "..." "--app-name" "Emacs" "--hint" "int:transient:1" "--urgency" "normal" "--category" t "scratch" "test")