1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Be stricter when going back to the previous node in Info-find-node-2

* lisp/info.el (Info-find-node-2): When going back to the previous
node, be strict (bug#31137) since we have the exact node name.
This commit is contained in:
Lars Ingebrigtsen 2021-02-04 11:23:21 +01:00
parent 5666955379
commit 517e123f90

View File

@ -1260,9 +1260,9 @@ is non-nil)."
(if Info-history
(let ((hist (car Info-history)))
(setq Info-history (cdr Info-history))
(Info-find-node (nth 0 hist) (nth 1 hist) t)
(Info-find-node (nth 0 hist) (nth 1 hist) t t)
(goto-char (nth 2 hist)))
(Info-find-node Info-current-file "Top" t)))))
(Info-find-node Info-current-file "Top" t t)))))
;; Cache the contents of the (virtual) dir file, once we have merged
;; it for the first time, so we can save time subsequently.