emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-notify dbb2347fb4 1/3: Make use of the function ens


From: ELPA Syncer
Subject: [elpa] externals/org-notify dbb2347fb4 1/3: Make use of the function ensure-list in org-notify-process
Date: Wed, 2 Nov 2022 13:58:00 -0400 (EDT)

branch: externals/org-notify
commit dbb2347fb46005429f842bb277e82e648ef2ffaf
Author: Peter Münster <pm@a16n.net>
Commit: Peter Münster <pm@a16n.net>

    Make use of the function ensure-list in org-notify-process
---
 org-notify.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/org-notify.el b/org-notify.el
index c64352d089..0ca2cb90fa 100644
--- a/org-notify.el
+++ b/org-notify.el
@@ -196,8 +196,7 @@ forgotten tasks."
                           (prm :audible)
                        org-notify-audible)
                       (ding))
-                  (unless (listp actions)
-                    (setq actions (list actions)))
+                  (setq actions (ensure-list actions))
                  (cl-incf notification-cnt)
                   (dolist (action actions)
                     (funcall (if (fboundp action) action



reply via email to

[Prev in Thread] Current Thread [Next in Thread]