diff options
| author | Juri Linkov | 2008-10-18 23:05:11 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-10-18 23:05:11 +0000 |
| commit | 73bde1a893686a8dc36939437cc4a49f18fcc6a0 (patch) | |
| tree | 9917b1ce2423eb19d6ed53fe3f8983ae84ff3f43 | |
| parent | ca32d854d63ba89c0467925e29dd586fdb66cc84 (diff) | |
| download | emacs-73bde1a893686a8dc36939437cc4a49f18fcc6a0.tar.gz emacs-73bde1a893686a8dc36939437cc4a49f18fcc6a0.zip | |
(Info-find-node-2): Put initial point below the header line and breadcrumbs line.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/info.el | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fb0c2f734b1..7703e16b73e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-10-18 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * info.el (Info-find-node-2): Put initial point below the header line | ||
| 4 | and breadcrumbs line. | ||
| 5 | |||
| 1 | 2008-10-18 Glenn Morris <rgm@gnu.org> | 6 | 2008-10-18 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * doc-view.el (doc-view-pdf->txt, doc-view-ps->pdf): Give an error if | 8 | * doc-view.el (doc-view-pdf->txt, doc-view-ps->pdf): Give an error if |
diff --git a/lisp/info.el b/lisp/info.el index 0039a666c5f..6ee505c6f03 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -966,6 +966,10 @@ a case-insensitive match is tried." | |||
| 966 | 966 | ||
| 967 | (Info-select-node) | 967 | (Info-select-node) |
| 968 | (goto-char (point-min)) | 968 | (goto-char (point-min)) |
| 969 | (forward-line 1) ; skip header line | ||
| 970 | (when (> Info-breadcrumbs-depth 0) ; skip breadcrumbs line | ||
| 971 | (forward-line 1)) | ||
| 972 | |||
| 969 | (cond (anchorpos | 973 | (cond (anchorpos |
| 970 | (let ((new-history (list Info-current-file | 974 | (let ((new-history (list Info-current-file |
| 971 | (substring-no-properties nodename)))) | 975 | (substring-no-properties nodename)))) |