summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-14 13:40:00 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-03-14 13:40:00 (GMT)
commit3ec38f5c064c3270f54876ba33c5ca1097b46853 (patch)
tree0200b5917e10812e7e19e3837f549c696fb7a842
parente0e699ab3dd208baf2ebc700c5b2c037de20f4d7 (diff)
downloadorg-mode-3ec38f5c064c3270f54876ba33c5ca1097b46853.zip
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.el2
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)