aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2008-03-06 00:07:41 +0000
committerKim F. Storm2008-03-06 00:07:41 +0000
commit4e44f5ceebe1c399e35488662ce975e0c885ff9e (patch)
tree1f8a738c23e58bf8ea9a38ad2615fee6066a117e
parentcc0e97a4bfafb950e05181da2a96f44d8797f610 (diff)
downloademacs-4e44f5ceebe1c399e35488662ce975e0c885ff9e.tar.gz
emacs-4e44f5ceebe1c399e35488662ce975e0c885ff9e.zip
(view-emacs-todo): Rename from view-todo. Change users.
(describe-gnu-project): Rename from describe-project. Change users. Define obsolete function aliases for the old names.
-rw-r--r--lisp/help.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/help.el b/lisp/help.el
index e934091035c..3b35fadf781 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -53,8 +53,8 @@
53 (define-key map "\C-f" 'view-emacs-FAQ) 53 (define-key map "\C-f" 'view-emacs-FAQ)
54 (define-key map "\C-m" 'view-order-manuals) 54 (define-key map "\C-m" 'view-order-manuals)
55 (define-key map "\C-n" 'view-emacs-news) 55 (define-key map "\C-n" 'view-emacs-news)
56 (define-key map "\C-p" 'describe-project) 56 (define-key map "\C-p" 'describe-gnu-project)
57 (define-key map "\C-t" 'view-todo) 57 (define-key map "\C-t" 'view-emacs-todo)
58 (define-key map "\C-w" 'describe-no-warranty) 58 (define-key map "\C-w" 'describe-no-warranty)
59 59
60 ;; This does not fit the pattern, but it is natural given the C-\ command. 60 ;; This does not fit the pattern, but it is natural given the C-\ command.
@@ -292,12 +292,14 @@ If that doesn't give a function, return nil."
292 (view-file (expand-file-name "COPYING" data-directory)) 292 (view-file (expand-file-name "COPYING" data-directory))
293 (goto-char (point-min))) 293 (goto-char (point-min)))
294 294
295(defun describe-project () 295(defun describe-gnu-project ()
296 "Display info on the GNU project." 296 "Display info on the GNU project."
297 (interactive) 297 (interactive)
298 (view-file (expand-file-name "THE-GNU-PROJECT" data-directory)) 298 (view-file (expand-file-name "THE-GNU-PROJECT" data-directory))
299 (goto-char (point-min))) 299 (goto-char (point-min)))
300 300
301(define-obsolete-function-alias 'describe-project 'describe-gnu-project "22.2")
302
301(defun describe-no-warranty () 303(defun describe-no-warranty ()
302 "Display info on all the kinds of warranty Emacs does NOT have." 304 "Display info on all the kinds of warranty Emacs does NOT have."
303 (interactive) 305 (interactive)
@@ -396,11 +398,14 @@ With argument, display info only for the selected version."
396 (point))))))) 398 (point)))))))
397 399
398 400
399(defun view-todo (&optional arg) 401(defun view-emacs-todo (&optional arg)
400 "Display the Emacs TODO list." 402 "Display the Emacs TODO list."
401 (interactive "P") 403 (interactive "P")
402 (view-file (expand-file-name "TODO" data-directory))) 404 (view-file (expand-file-name "TODO" data-directory)))
403 405
406(define-obsolete-function-alias 'view-todo 'view-emacs-todo "22.2")
407
408
404(defun view-echo-area-messages () 409(defun view-echo-area-messages ()
405 "View the log of recent echo-area messages: the `*Messages*' buffer. 410 "View the log of recent echo-area messages: the `*Messages*' buffer.
406The number of messages retained in that buffer 411The number of messages retained in that buffer