diff --git a/lisp/org.el b/lisp/org.el index a6a8b2032..9e6c764b6 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15104,7 +15104,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-window-excursion + (save-excursion (save-restriction (cond ((eq scope 'tree) (org-back-to-heading t)