Browse Source

org.el (org-map-entries): Use `save-window-excursion'

* org.el (org-map-entries): Use `save-window-excursion'.
Bastien Guerry 12 years ago
parent
commit
3ec38f5c06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
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)