diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-05-12 00:13:09 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-05-12 00:13:09 +0200 |
commit | ffa5a93764e6e3956623f4e2076636c07206282b (patch) | |
tree | 8ea45f30dd388e0631f3287a594ace3ec07578b9 | |
parent | f4bb79a10c00591bfb3e77ef9e1e3674e770163e (diff) | |
download | org-mode-ffa5a93764e6e3956623f4e2076636c07206282b.tar.gz |
org-agenda: Fix consecutive bulk marks on the same task
* lisp/org-agenda.el (org-agenda-bulk-unmark-all): Do not reset
markers stored in `org-agenda-bulk-marked-entries'. These markers
are not specific to bulk actions and need not be modified by
side-effect.
Reported-by: Adrian Bradd <adrian.bradd@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/112895>
-rw-r--r-- | lisp/org-agenda.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 721f160..adf32c5 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -9869,7 +9869,6 @@ This will remove the markers and the overlays." (interactive) (if (null org-agenda-bulk-marked-entries) (message "No entry to unmark") - (mapc (lambda (m) (move-marker m nil)) org-agenda-bulk-marked-entries) (setq org-agenda-bulk-marked-entries nil) (org-agenda-bulk-remove-overlays (point-min) (point-max)))) |