changeset 98847:5b8c868971fc

(Info-find-node-2): Put initial point below the header line and breadcrumbs line.
author Juri Linkov <juri@jurta.org>
date Sat, 18 Oct 2008 23:04:38 +0000
parents 7d3f3273efda
children 733b79cab28d
files lisp/info.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sat Oct 18 22:30:55 2008 +0000
+++ b/lisp/info.el	Sat Oct 18 23:04:38 2008 +0000
@@ -966,6 +966,10 @@
 
 	    (Info-select-node)
 	    (goto-char (point-min))
+	    (forward-line 1)		       ; skip header line
+	    (when (> Info-breadcrumbs-depth 0) ; skip breadcrumbs line
+	      (forward-line 1))
+
 	    (cond (anchorpos
                    (let ((new-history (list Info-current-file
                                             (substring-no-properties nodename))))