diff options
| author | Richard M. Stallman | 2002-05-01 16:41:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-05-01 16:41:52 +0000 |
| commit | 1ebc1f01bf9d3a81281219cb4403710f2033fa78 (patch) | |
| tree | 11db36939bf855d16ec9f9bd4c1b0f8901e75e71 | |
| parent | 2255d5b41976025a5a9330cfc2b5f0625b4a0a6f (diff) | |
| download | emacs-1ebc1f01bf9d3a81281219cb4403710f2033fa78.tar.gz emacs-1ebc1f01bf9d3a81281219cb4403710f2033fa78.zip | |
(view-todo): New function.
(help-map): Bind C-h C-t to view-todo.
(help-for-help): Change the text.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/help.el | 9 |
2 files changed, 14 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 164b226aeb8..c821b41f631 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-05-01 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * help.el (view-todo): New function. | ||
| 4 | (help-map): Bind C-h C-t to view-todo. | ||
| 5 | (help-for-help): Change the text. | ||
| 6 | |||
| 1 | 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk> | 7 | 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk> |
| 2 | 8 | ||
| 3 | * progmodes/f90.el: Yet more doc string, commment and whitespace | 9 | * progmodes/f90.el: Yet more doc string, commment and whitespace |
diff --git a/lisp/help.el b/lisp/help.el index d47504526d6..78280f55f5e 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -58,6 +58,7 @@ | |||
| 58 | (define-key help-map "\C-m" 'view-order-manuals) | 58 | (define-key help-map "\C-m" 'view-order-manuals) |
| 59 | (define-key help-map "\C-n" 'view-emacs-news) | 59 | (define-key help-map "\C-n" 'view-emacs-news) |
| 60 | (define-key help-map "\C-p" 'describe-project) | 60 | (define-key help-map "\C-p" 'describe-project) |
| 61 | (define-key help-map "\C-t" 'view-todo) | ||
| 61 | (define-key help-map "\C-w" 'describe-no-warranty) | 62 | (define-key help-map "\C-w" 'describe-no-warranty) |
| 62 | 63 | ||
| 63 | ;; This does not fit the pattern, but it is natural given the C-\ command. | 64 | ;; This does not fit the pattern, but it is natural given the C-\ command. |
| @@ -173,7 +174,7 @@ If FUNCTION is nil, applies `message' to it, thus printing it." | |||
| 173 | 174 | ||
| 174 | (defalias 'help 'help-for-help) | 175 | (defalias 'help 'help-for-help) |
| 175 | (make-help-screen help-for-help | 176 | (make-help-screen help-for-help |
| 176 | "a b c C e f F C-f i I k C-k l L m p s t v w C-c C-d C-n C-p C-w or ? :" | 177 | "a b c C e f F i I k C-k l L m p s t v w C-c C-d C-f C-n C-p C-t C-w or ? :" |
| 177 | "You have typed %THIS-KEY%, the help character. Type a Help option: | 178 | "You have typed %THIS-KEY%, the help character. Type a Help option: |
| 178 | \(Use SPC or DEL to scroll through this text. Type \\<help-map>\\[help-quit] to exit the Help command.) | 179 | \(Use SPC or DEL to scroll through this text. Type \\<help-map>\\[help-quit] to exit the Help command.) |
| 179 | 180 | ||
| @@ -221,6 +222,7 @@ C-f Display the Emacs FAQ. | |||
| 221 | C-m Display how to order printed Emacs manuals. | 222 | C-m Display how to order printed Emacs manuals. |
| 222 | C-n Display news of recent Emacs changes. | 223 | C-n Display news of recent Emacs changes. |
| 223 | C-p Display information about the GNU project. | 224 | C-p Display information about the GNU project. |
| 225 | C-t Display the Emacs TODO list. | ||
| 224 | C-w Display information on absence of warranty for GNU Emacs." | 226 | C-w Display information on absence of warranty for GNU Emacs." |
| 225 | help-map) | 227 | help-map) |
| 226 | 228 | ||
| @@ -319,6 +321,11 @@ With numeric argument, display information on correspondingly older changes." | |||
| 319 | (view-file (expand-file-name file data-directory)) | 321 | (view-file (expand-file-name file data-directory)) |
| 320 | (error "No such old news")))) | 322 | (error "No such old news")))) |
| 321 | 323 | ||
| 324 | (defun view-todo (&optional arg) | ||
| 325 | "Display the Emacs TODO list." | ||
| 326 | (interactive "P") | ||
| 327 | (view-file (expand-file-name "TODO" data-directory))) | ||
| 328 | |||
| 322 | (defun view-echo-area-messages () | 329 | (defun view-echo-area-messages () |
| 323 | "View the log of recent echo-area messages: the `*Messages*' buffer. | 330 | "View the log of recent echo-area messages: the `*Messages*' buffer. |
| 324 | The number of messages retained in that buffer | 331 | The number of messages retained in that buffer |