changeset 51517:46101da952e7

(Info-complete-menu-item): Revert change of 2003-06-03.
author Lute Kamstra <lute@gnu.org>
date Fri, 06 Jun 2003 16:12:56 +0000
parents 741283db818a
children 32a1c48ca0b9
files lisp/info.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Fri Jun 06 15:12:43 2003 +0000
+++ b/lisp/info.el	Fri Jun 06 16:12:56 2003 +0000
@@ -1578,7 +1578,11 @@
   ;; also look for menu items in subsequent nodes as long as those
   ;; nodes' names match `Info-complete-next-re'.  This feature is currently
   ;; only used for completion in Info-index.
-  (with-current-buffer Info-complete-menu-buffer
+
+  ;; Note that `Info-complete-menu-buffer' could be current already,
+  ;; so we want to save point.
+  (save-excursion
+    (set-buffer Info-complete-menu-buffer)
     (let ((completion-ignore-case t)
 	  (case-fold-search t)
 	  (orignode Info-current-node)