summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-05-01 16:41:52 +0000
committerRichard M. Stallman <rms@gnu.org>2002-05-01 16:41:52 +0000
commit1ebc1f01bf9d3a81281219cb4403710f2033fa78 (patch)
tree11db36939bf855d16ec9f9bd4c1b0f8901e75e71 /lisp/help.el
parent2255d5b41976025a5a9330cfc2b5f0625b4a0a6f (diff)
downloademacs-1ebc1f01bf9d3a81281219cb4403710f2033fa78.tar.gz
(view-todo): New function.
(help-map): Bind C-h C-t to view-todo. (help-for-help): Change the text.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el9
1 files changed, 8 insertions, 1 deletions
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 @@
(define-key help-map "\C-m" 'view-order-manuals)
(define-key help-map "\C-n" 'view-emacs-news)
(define-key help-map "\C-p" 'describe-project)
+(define-key help-map "\C-t" 'view-todo)
(define-key help-map "\C-w" 'describe-no-warranty)
;; 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."
(defalias 'help 'help-for-help)
(make-help-screen help-for-help
- "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 ? :"
+ "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 ? :"
"You have typed %THIS-KEY%, the help character. Type a Help option:
\(Use SPC or DEL to scroll through this text. Type \\<help-map>\\[help-quit] to exit the Help command.)
@@ -221,6 +222,7 @@ C-f Display the Emacs FAQ.
C-m Display how to order printed Emacs manuals.
C-n Display news of recent Emacs changes.
C-p Display information about the GNU project.
+C-t Display the Emacs TODO list.
C-w Display information on absence of warranty for GNU Emacs."
help-map)
@@ -319,6 +321,11 @@ With numeric argument, display information on correspondingly older changes."
(view-file (expand-file-name file data-directory))
(error "No such old news"))))
+(defun view-todo (&optional arg)
+ "Display the Emacs TODO list."
+ (interactive "P")
+ (view-file (expand-file-name "TODO" data-directory)))
+
(defun view-echo-area-messages ()
"View the log of recent echo-area messages: the `*Messages*' buffer.
The number of messages retained in that buffer