Mercurial > emacs
comparison lisp/help.el @ 10923:fe008aef4cf1
(view-emacs-FAQ): New function. Bind to C-h F.
(help-for-help): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 06 Mar 1995 05:16:14 +0000 |
parents | 97213941b5e8 |
children | d39d8e8b6d20 |
comparison
equal
deleted
inserted
replaced
10922:0c3d44805949 | 10923:fe008aef4cf1 |
---|---|
55 (define-key help-map "c" 'describe-key-briefly) | 55 (define-key help-map "c" 'describe-key-briefly) |
56 (define-key help-map "k" 'describe-key) | 56 (define-key help-map "k" 'describe-key) |
57 | 57 |
58 (define-key help-map "d" 'describe-function) | 58 (define-key help-map "d" 'describe-function) |
59 (define-key help-map "f" 'describe-function) | 59 (define-key help-map "f" 'describe-function) |
60 | |
61 (define-key help-map "F" 'view-emacs-FAQ) | |
60 | 62 |
61 (define-key help-map "i" 'info) | 63 (define-key help-map "i" 'info) |
62 (define-key help-map "\C-f" 'Info-goto-emacs-command-node) | 64 (define-key help-map "\C-f" 'Info-goto-emacs-command-node) |
63 (define-key help-map "\C-k" 'Info-goto-emacs-key-command-node) | 65 (define-key help-map "\C-k" 'Info-goto-emacs-key-command-node) |
64 | 66 |
307 (defun view-emacs-news () | 309 (defun view-emacs-news () |
308 "Display info on recent changes to Emacs." | 310 "Display info on recent changes to Emacs." |
309 (interactive) | 311 (interactive) |
310 (find-file-read-only (expand-file-name "NEWS" data-directory))) | 312 (find-file-read-only (expand-file-name "NEWS" data-directory))) |
311 | 313 |
314 (defun view-emacs-FAQ () | |
315 "Display the Emacs Frequently Asked Questions (FAQ) file." | |
316 (interactive) | |
317 (find-file-read-only (expand-file-name "FAQ" data-directory))) | |
318 | |
312 (defun view-lossage () | 319 (defun view-lossage () |
313 "Display last 100 input keystrokes." | 320 "Display last 100 input keystrokes." |
314 (interactive) | 321 (interactive) |
315 (with-output-to-temp-buffer "*Help*" | 322 (with-output-to-temp-buffer "*Help*" |
316 (princ (mapconcat (function (lambda (key) | 323 (princ (mapconcat (function (lambda (key) |
343 c describe-key-briefly. Type a command key sequence; | 350 c describe-key-briefly. Type a command key sequence; |
344 it prints the function name that sequence runs. | 351 it prints the function name that sequence runs. |
345 f describe-function. Type a function name and get documentation of it. | 352 f describe-function. Type a function name and get documentation of it. |
346 C-f Info-goto-emacs-command-node. Type a function name; | 353 C-f Info-goto-emacs-command-node. Type a function name; |
347 it takes you to the Info node for that command. | 354 it takes you to the Info node for that command. |
355 F view-emacs-FAQ. Shows emacs frequently asked questions file. | |
348 i info. The info documentation reader. | 356 i info. The info documentation reader. |
349 k describe-key. Type a command key sequence; | 357 k describe-key. Type a command key sequence; |
350 it displays the full documentation. | 358 it displays the full documentation. |
351 C-k Info-goto-emacs-key-command-node. Type a command key sequence; | 359 C-k Info-goto-emacs-key-command-node. Type a command key sequence; |
352 it takes you to the Info node for the command bound to that key. | 360 it takes you to the Info node for the command bound to that key. |