[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH 5/5] Avoid conflict between bulk command and loop-over-headli
From: |
David Maus |
Subject: |
[O] [PATCH 5/5] Avoid conflict between bulk command and loop-over-headlines |
Date: |
Thu, 25 Aug 2011 06:25:34 +0200 |
* org-agenda.el (org-agenda-bulk-action): Bind
`org-loop-over-headlines-in-active-region' to nil to avoid conflict
with bulk command.
---
lisp/org-agenda.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 07f3c12..bb0062d 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -8306,7 +8306,8 @@ The prefix arg is passed through to the command if
possible."
(progn (message "Skipping removed entry at %s" e)
(setq cntskip (1+ cntskip)))
(goto-char pos)
- (eval cmd)
+ (let (org-loop-over-headlines-in-active-region)
+ (eval cmd))
(setq org-agenda-bulk-marked-entries
(delete e org-agenda-bulk-marked-entries))
(setq cnt (1+ cnt))))
--
1.7.2.5
- [O] [PATCH 1/5] Extend scope 'region to include body of last headline in active region, (continued)
- [O] [PATCH 1/5] Extend scope 'region to include body of last headline in active region, David Maus, 2011/08/25
- Re: [O] [PATCH 1/5] Extend scope 'region to include body of last headline in active region, Carsten Dominik, 2011/08/25
- Re: [O] [PATCH 1/5] Extend scope 'region to include body of last headline in active region, David Maus, 2011/08/30
- [O] [PATCH 2/5] Immediately return if scope is region but no region is active, David Maus, 2011/08/25
- Re: [O] [PATCH 2/5] Immediately return if scope is region but no region is active, Carsten Dominik, 2011/08/25
- Re: [O] [PATCH 2/5] Immediately return if scope is region but no region is active, David Maus, 2011/08/28
- Re: [O] [PATCH 2/5] Immediately return if scope is region but no region is active, Carsten Dominik, 2011/08/29
- Re: [O] [PATCH 2/5] Immediately return if scope is region but no region is active, David Maus, 2011/08/30
- [O] [PATCH 3/5] New customization variable: Loop over headlines in active region, David Maus, 2011/08/25
- [O] [PATCH 4/5] Skip invisible headlines when mapping over headlines in active region, David Maus, 2011/08/25
- [O] [PATCH 5/5] Avoid conflict between bulk command and loop-over-headlines,
David Maus <=