summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Wahl <marcowahlsoft@gmail.com>2019-11-26 22:24:55 +0100
committerMarco Wahl <marcowahlsoft@gmail.com>2019-11-26 22:33:45 +0100
commitbe7e88ae30c27e4c7ac0412a5c8675e778680a45 (patch)
tree0ac0f56209343dc785619b4719631fd69d55018e
parent3d4365ba036437ddcaccf8942aec7e6e929f7715 (diff)
downloadorg-mode-be7e88ae30c27e4c7ac0412a5c8675e778680a45.tar.gz
agenda: Fix: Don't loop over headlines in region at agenda-todo
* lisp/org-agenda.el (org-agenda-todo): Set the respective variable to nil.
-rw-r--r--lisp/org-agenda.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index d389fc2..3df8af6 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -9162,6 +9162,7 @@ the same tree node, and the headline of the tree node in the Org file."
(hdmarker (org-get-at-bol 'org-hd-marker))
(todayp (org-agenda-today-p (org-get-at-bol 'day)))
(inhibit-read-only t)
+ org-loop-over-headlines-in-active-region
org-agenda-headline-snapshot-before-repeat newhead just-one)
(org-with-remote-undo buffer
(with-current-buffer buffer