(info-apropos): Don't clobber Info-history-list.
authorJesper Harder <harder@ifa.au.dk>
Wed, 14 Apr 2004 15:58:30 +0000 (15:58 +0000)
committerJesper Harder <harder@ifa.au.dk>
Wed, 14 Apr 2004 15:58:30 +0000 (15:58 +0000)
lisp/ChangeLog
lisp/info.el

index 0ddd1eb..b3cada9 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-14  Jesper Harder  <harder@ifa.au.dk>
+
+       * info.el (info-apropos): Don't clobber Info-history-list.
+
 2004-04-14  Daniel Pfeiffer  <occitan@esperanto.org>
 
        * progmodes/compile.el (compilation-setup): Localize
index 34ec499..96445a1 100644 (file)
@@ -2432,6 +2432,7 @@ Build a menu of the possible matches."
     (let ((pattern (format "\n\\* +\\([^\n]*%s[^\n]*\\):[ \t]+\\([^.]+\\)."
                           (regexp-quote string)))
          (ohist Info-history)
+         (ohist-list Info-history-list)
          (current-node Info-current-node)
          (current-file Info-current-file)
          manuals matches temp-file node)
@@ -2465,7 +2466,8 @@ Build a menu of the possible matches."
                    (Info-goto-node node))))
            (error nil))))
       (Info-goto-node (concat "(" current-file ")" current-node))
-      (setq Info-history ohist)
+      (setq Info-history ohist
+           Info-history-list ohist-list)
       (message "Searching indices...done")
       (if (null matches)
          (message "No matches found")