diff options
author | Bastien Guerry <bzg@altern.org> | 2013-03-14 14:40:00 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-03-14 14:40:00 +0100 |
commit | 3ec38f5c064c3270f54876ba33c5ca1097b46853 (patch) | |
tree | 0200b5917e10812e7e19e3837f549c696fb7a842 | |
parent | e0e699ab3dd208baf2ebc700c5b2c037de20f4d7 (diff) | |
download | org-mode-3ec38f5c064c3270f54876ba33c5ca1097b46853.tar.gz |
org.el (org-map-entries): Use `save-window-excursion'
* org.el (org-map-entries): Use `save-window-excursion'.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 66c79f5..52ae163 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14638,7 +14638,7 @@ a *different* entry, you cannot use these techniques." ((eq match nil) (setq matcher t)) (t (setq matcher (if match (cdr (org-make-tags-matcher match)) t)))) - (save-excursion + (save-window-excursion (save-restriction (cond ((eq scope 'tree) (org-back-to-heading t) |