aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/signal-config.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/signal-config.el b/modules/signal-config.el
index 2ee4403f..a1ec7933 100644
--- a/modules/signal-config.el
+++ b/modules/signal-config.el
@@ -143,6 +143,9 @@ BODY is formatted by `cj/signal--format-notify-body'. Installed as
(if script
(apply #'start-process "signel-notify" nil script "info" title text
(unless cj/signel-notify-sound (list "--silent")))
+ ;; notifications.el is not autoloaded; load it on the first fallback.
+ (unless (fboundp 'notifications-notify)
+ (require 'notifications))
(notifications-notify :title title :body text)))))
;;; signel — fork integration