branch: externals/org-notify commit d05ef86787fc191fb1cf65568797915c14ddc620 Author: Peter Münster <p...@a16n.net> Commit: Peter Münster <p...@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)))))))))