changeset 45070:fbd816e9e27d

(view-todo): New function. (help-map): Bind C-h C-t to view-todo. (help-for-help): Change the text.
author Richard M. Stallman <rms@gnu.org>
date Wed, 01 May 2002 16:40:39 +0000
parents 3debb02d0222
children c103e163ea11
files lisp/help.el
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Wed May 01 16:36:11 2002 +0000
+++ b/lisp/help.el	Wed May 01 16:40:39 2002 +0000
@@ -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 @@
 
 (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-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 @@
 	(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