Commit 7187cdae authored by Juri Linkov's avatar Juri Linkov
Browse files

* info.el (Info-index-next): Decrement line number by 2. (Bug#5652)

parent 75f80e63
2010-03-02 Juri Linkov <juri@jurta.org>
* info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
2010-03-02 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
......
......@@ -3062,7 +3062,7 @@ 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-line (1- (nth 3 (car Info-index-alternatives))))
(forward-line (- (nth 3 (car Info-index-alternatives)) 2))
(forward-line 3) ; don't search in headers
(let ((name (car (car Info-index-alternatives))))
(Info-find-index-name name)))
......
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