summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-05-12 00:13:09 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-05-12 00:13:09 +0200
commitffa5a93764e6e3956623f4e2076636c07206282b (patch)
tree8ea45f30dd388e0631f3287a594ace3ec07578b9
parentf4bb79a10c00591bfb3e77ef9e1e3674e770163e (diff)
downloadorg-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.el1
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))))