emacs-diffs
[Top][All Lists]
Advanced

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

master 517e123: Be stricter when going back to the previous node in Info


From: Lars Ingebrigtsen
Subject: master 517e123: Be stricter when going back to the previous node in Info-find-node-2
Date: Thu, 4 Feb 2021 05:23:31 -0500 (EST)

branch: master
commit 517e123f90175f9c8fb94348c46d7d6d3236d57a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/info.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/info.el b/lisp/info.el
index dec9392..7f169f4 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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.



reply via email to

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