]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-complete-menu-item): Revert change of 2003-06-03.
authorLute Kamstra <lute@gnu.org>
Fri, 6 Jun 2003 16:13:31 +0000 (16:13 +0000)
committerLute Kamstra <lute@gnu.org>
Fri, 6 Jun 2003 16:13:31 +0000 (16:13 +0000)
lisp/ChangeLog
lisp/info.el

index 929361511b820252cb6534634c9d47ea7337abdb..bf10a8a94665a4f14959fe141f2fec36d09bb6b0 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
+
+       * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
+
 2003-06-06  Klaus Zeitler  <kzeitler@lucent.com>
 
        * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
index f3dd9a859a4c95ad95264d6df7eb7cd81d85e62e..bfee15c4cbb4ba43defa6983aea0157443c7b00c 100644 (file)
@@ -1578,7 +1578,11 @@ FOOTNOTENAME may be an abbreviation of the reference name."
   ;; 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)