diff options
| author | Eric S. Raymond | 1992-08-04 17:18:16 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1992-08-04 17:18:16 +0000 |
| commit | 803eaf50c2fd81c1afe4355d248c76653cde027d (patch) | |
| tree | b9ce0160184c549501c82dbd37d594884a07f190 /lisp | |
| parent | 253db9175ecedc0700535a23203af4c69aae0c5e (diff) | |
| download | emacs-803eaf50c2fd81c1afe4355d248c76653cde027d.tar.gz emacs-803eaf50c2fd81c1afe4355d248c76653cde027d.zip | |
*** empty log message ***
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/info.el | 14 | ||||
| -rw-r--r-- | lisp/view.el | 8 |
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/info.el b/lisp/info.el index fef0d9b47c3..996c35152d6 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -893,7 +893,7 @@ At end of the node's text, moves to the next node." | |||
| 893 | (define-key Info-mode-map "q" 'Info-exit) | 893 | (define-key Info-mode-map "q" 'Info-exit) |
| 894 | (define-key Info-mode-map "s" 'Info-search) | 894 | (define-key Info-mode-map "s" 'Info-search) |
| 895 | (define-key Info-mode-map "u" 'Info-up) | 895 | (define-key Info-mode-map "u" 'Info-up) |
| 896 | (define-key Info-mode-map "\177" 'scroll-down) | 896 | (define-key Info-mode-map "\177" 'Info-scroll-down) |
| 897 | ) | 897 | ) |
| 898 | 898 | ||
| 899 | ;; Info mode is suitable only for specially formatted data. | 899 | ;; Info mode is suitable only for specially formatted data. |
| @@ -919,8 +919,11 @@ Selecting other nodes: | |||
| 919 | \\[Info-last] Move to the last node you were at. | 919 | \\[Info-last] Move to the last node you were at. |
| 920 | 920 | ||
| 921 | Moving within a node: | 921 | Moving within a node: |
| 922 | \\[scroll-up] scroll forward a full screen. \\[scroll-down] scroll backward. | 922 | \\[scroll-up] Normally, scroll forward a full screen. If the end of the buffer is |
| 923 | \\[beginning-of-buffer] Go to beginning of node. | 923 | already visible, try to go to the next menu entry, or up if there is none. |
| 924 | \\[scroll-down] Normally, scroll backward. If the beginning of the buffer is | ||
| 925 | already visible, try to go to the previous menu entry, or up if there is none. | ||
| 926 | \\[beginning-of-buffer] Go to beginning of node. | ||
| 924 | 927 | ||
| 925 | Advanced commands: | 928 | Advanced commands: |
| 926 | \\[Info-exit] Quit Info: reselect previously selected buffer. | 929 | \\[Info-exit] Quit Info: reselect previously selected buffer. |
| @@ -930,7 +933,10 @@ Advanced commands: | |||
| 930 | \\[Info-goto-node] Move to node specified by name. | 933 | \\[Info-goto-node] Move to node specified by name. |
| 931 | You may include a filename as well, as (FILENAME)NODENAME. | 934 | You may include a filename as well, as (FILENAME)NODENAME. |
| 932 | \\[Info-search] Search through this Info file for specified regexp, | 935 | \\[Info-search] Search through this Info file for specified regexp, |
| 933 | and select the node in which the next occurrence is found." | 936 | and select the node in which the next occurrence is found. |
| 937 | \\[Info-next-preorder] Next-preorder; that is, try to go to the next menu item, | ||
| 938 | and if that fails try to move up, and if that fails, tell user | ||
| 939 | he/she is done reading." | ||
| 934 | (kill-all-local-variables) | 940 | (kill-all-local-variables) |
| 935 | (setq major-mode 'Info-mode) | 941 | (setq major-mode 'Info-mode) |
| 936 | (setq mode-name "Info") | 942 | (setq mode-name "Info") |
diff --git a/lisp/view.el b/lisp/view.el index 50dbc77d815..245a4136deb 100644 --- a/lisp/view.el +++ b/lisp/view.el | |||
| @@ -75,7 +75,7 @@ | |||
| 75 | (define-key view-mode-map "x" 'exchange-point-and-mark) | 75 | (define-key view-mode-map "x" 'exchange-point-and-mark) |
| 76 | (define-key view-mode-map "h" 'Helper-describe-bindings) | 76 | (define-key view-mode-map "h" 'Helper-describe-bindings) |
| 77 | (define-key view-mode-map "?" 'Helper-describe-bindings) | 77 | (define-key view-mode-map "?" 'Helper-describe-bindings) |
| 78 | (define-key view-mode-map "\C-h" 'Helper-help) | 78 | (define-key view-mode-map (char-to-string help-char) 'Helper-help) |
| 79 | (define-key view-mode-map "\C-n" 'next-line) | 79 | (define-key view-mode-map "\C-n" 'next-line) |
| 80 | (define-key view-mode-map "\C-p" 'previous-line) | 80 | (define-key view-mode-map "\C-p" 'previous-line) |
| 81 | (define-key view-mode-map "\C-s" 'isearch-forward) | 81 | (define-key view-mode-map "\C-s" 'isearch-forward) |
| @@ -193,7 +193,7 @@ C-r or r do reverse incremental search. | |||
| 193 | successful search and when jump to line to occurs. | 193 | successful search and when jump to line to occurs. |
| 194 | The mark is set on jump to buffer start or end. | 194 | The mark is set on jump to buffer start or end. |
| 195 | ? or h provide help message (list of commands). | 195 | ? or h provide help message (list of commands). |
| 196 | C-h provides help (list of commands or description of a command). | 196 | \\[Helper-help] provides help (list of commands or description of a command). |
| 197 | C-n moves down lines vertically. | 197 | C-n moves down lines vertically. |
| 198 | C-p moves upward lines vertically. | 198 | C-p moves upward lines vertically. |
| 199 | C-l recenters the screen. | 199 | C-l recenters the screen. |
| @@ -282,10 +282,10 @@ If you viewed a file that was not present in Emacs, its buffer is killed." | |||
| 282 | 282 | ||
| 283 | (defun view-helpful-message () | 283 | (defun view-helpful-message () |
| 284 | (message | 284 | (message |
| 285 | (if (and (eq (key-binding "\C-h") 'Helper-help) | 285 | (if (and (eq (key-binding (char-to-string help-char)) 'Helper-help) |
| 286 | (eq (key-binding "?") 'Helper-describe-bindings) | 286 | (eq (key-binding "?") 'Helper-describe-bindings) |
| 287 | (eq (key-binding "\C-c") 'view-exit)) | 287 | (eq (key-binding "\C-c") 'view-exit)) |
| 288 | "Type C-h for help, ? for commands, C-c to quit" | 288 | "Type \\[Helper-help] for help, ? for commands, C-c to quit" |
| 289 | (substitute-command-keys | 289 | (substitute-command-keys |
| 290 | "Type \\[Helper-help] for help, \\[Helper-describe-bindings] for commands, \\[view-exit] to quit.")))) | 290 | "Type \\[Helper-help] for help, \\[Helper-describe-bindings] for commands, \\[view-exit] to quit.")))) |
| 291 | 291 | ||