Commit 69188b79 authored by Chong Yidong's avatar Chong Yidong
Browse files

* info.el (Info-menu): Handle string value of FORK arg.

Fixes: debbugs:10858
parent 99fc91fe
2012-03-21 Drew Adams <>
* info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2012-03-21 Anmol Khirbat <> (tiny change)
* ido.el (ido-set-current-directory, ido-read-internal)
......@@ -2594,7 +2594,9 @@ new buffer."
(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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment