emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] org-map-entries narrows to subtree


From: Daniel Clemente
Subject: [Orgmode] org-map-entries narrows to subtree
Date: Sun, 11 Jan 2009 19:26:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi. After you eval this (for instance to count the number of headlines under a 
tree):

  (org-map-entries 'ignore t 'tree)

you end up with a different view of the buffer because (org-narrow-to-subtree) 
was called. This seems an unwanted side effect since narrowing is not 
org-map-entries' job.

  Should (save-excursion) be used inside (org-map-entries ... 'tree) ?


-- Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]