diff options
Diffstat (limited to 'lib/eos/jao-notify.el')
-rw-r--r-- | lib/eos/jao-notify.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/eos/jao-notify.el b/lib/eos/jao-notify.el index a3ea474..623b8cc 100644 --- a/lib/eos/jao-notify.el +++ b/lib/eos/jao-notify.el @@ -1,6 +1,6 @@ ;; jao-notify.el -- Interacting with notification daemon -;; Copyright (c) 2017, 2019, 2020, 2021 Jose Antonio Ortega Ruiz +;; Copyright (c) 2017, 2019, 2020, 2021, 2024 Jose Antonio Ortega Ruiz ;; Author: Jose Antonio Ortega Ruiz <jao@gnu.org> ;; Start date: Sun Jan 08, 2017 20:24 @@ -12,7 +12,7 @@ ;;; Code: -(defvar jao-notify-use-messages-p nil) +(defvar jao-notify-use-messages nil) (defvar jao-notify-timeout 5000) (defvar jao-notify-audio-icon (jao-data-file "music-player-icon.png")) @@ -23,7 +23,7 @@ (defun jao-notify (msg &optional title icon) (let ((title (when (and title (not (string-blank-p title))) title))) - (if jao-notify-use-messages-p + (if jao-notify-use-messages (message "%s%s%s" (or title "") (if title ": " "") (or msg "")) (let* ((args `(:timeout ,jao-notify-timeout)) (args (append args |