From: Juri Linkov Date: Wed, 3 Mar 2010 19:23:20 +0000 (+0200) Subject: Add a comment for the previous commit. X-Git-Tag: emacs-pretest-23.1.94~7^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bc71084dd6371bb4a0e76a72fb5627e9476e7a5;p=emacs.git Add a comment for the previous commit. --- 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))))