emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107642: * info.el (Info-menu): Handl


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107642: * info.el (Info-menu): Handle string value of FORK arg.
Date: Thu, 22 Mar 2012 00:56:55 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107642
fixes bug(s): http://debbugs.gnu.org/10858
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2012-03-22 00:56:55 +0800
message:
  * info.el (Info-menu): Handle string value of FORK arg.
modified:
  lisp/ChangeLog
  lisp/info.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-03-21 16:41:01 +0000
+++ b/lisp/ChangeLog    2012-03-21 16:56:55 +0000
@@ -1,3 +1,7 @@
+2012-03-21  Drew Adams  <address@hidden>
+
+       * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
+
 2012-03-21  Anmol Khirbat  <address@hidden>  (tiny change)
 
        * ido.el (ido-set-current-directory, ido-read-internal)

=== modified file 'lisp/info.el'
--- a/lisp/info.el      2012-03-06 03:02:44 +0000
+++ b/lisp/info.el      2012-03-21 16:56:55 +0000
@@ -2594,7 +2594,9 @@
        (list item current-prefix-arg))))
   ;; there is a problem here in that if several menu items have the same
   ;; name you can only go to the node of the first with this command.
-  (Info-goto-node (Info-extract-menu-item menu-item) (if fork menu-item)))
+  (Info-goto-node (Info-extract-menu-item menu-item)
+                 (and fork
+                      (if (stringp fork) fork menu-item))))
 
 (defun Info-extract-menu-item (menu-item)
   (setq menu-item (regexp-quote menu-item))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]