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

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

[elpa] externals/org-notify d05ef86787 18/23: org-notify.el (org-notify-


From: ELPA Syncer
Subject: [elpa] externals/org-notify d05ef86787 18/23: org-notify.el (org-notify-on-action): Pressing "done" should never act on
Date: Mon, 25 Jul 2022 12:57:57 -0400 (EDT)

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

    org-notify.el (org-notify-on-action): Pressing "done" should never act on
    whole active region.
---
 org-notify.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org-notify.el b/org-notify.el
index 25e88691c0..c1ec319604 100644
--- a/org-notify.el
+++ b/org-notify.el
@@ -267,7 +267,8 @@ seconds.  The default value for SECS is 20."
            (goto-char begin)
            (search-forward "DEADLINE: <")
            (cond
-            ((string-equal key "done")  (org-todo))
+            ((string-equal key "done")
+             (let ((org-loop-over-headlines-in-active-region nil)) (org-todo)))
             ((string-equal key "hour")  (org-timestamp-change 60 'minute))
             ((string-equal key "day")   (org-timestamp-up-day))
             ((string-equal key "week")  (org-timestamp-change 7 'day)))))))))



reply via email to

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