From 3bc71084dd6371bb4a0e76a72fb5627e9476e7a5 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 3 Mar 2010 21:23:20 +0200 Subject: [PATCH] Add a comment for the previous commit. --- lisp/info.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/info.el b/lisp/info.el index 690fa4ff8e0..a1ce05d6292 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3062,6 +3062,8 @@ Give an empty topic name to go to the Index node itself." num (1- num))) (Info-goto-node (nth 1 (car Info-index-alternatives))) (if (> (nth 3 (car Info-index-alternatives)) 0) + ;; Forward 2 lines less because `Info-find-node-2' initially + ;; puts point to the 2nd line. (forward-line (- (nth 3 (car Info-index-alternatives)) 2)) (forward-line 3) ; don't search in headers (let ((name (car (car Info-index-alternatives)))) -- 2.39.2