From 1296cc45ce892a3398289ea47ed869f11966ae49 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 14 Jul 2026 00:13:23 -0500 Subject: fix(signal): load notifications.el before the fallback notifier The script-absent fallback called notifications-notify, which isn't autoloaded, so a fresh session without the notify script would die on void-function instead of showing the toast. The fallback now requires notifications.el when the function is unbound. Found while giving slack-config the same fallback. --- modules/signal-config.el | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3