aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2001-01-02 14:06:15 +0000
committerDave Love2001-01-02 14:06:15 +0000
commitade0f0b8f7f1ed7fd93068ef5c3172e668b73e48 (patch)
tree6ac44a31df46ef49b5524121f52f4ba651d869b8
parent8798a92b862c0907e6648179e4b01babd0169d22 (diff)
downloademacs-ade0f0b8f7f1ed7fd93068ef5c3172e668b73e48.tar.gz
emacs-ade0f0b8f7f1ed7fd93068ef5c3172e668b73e48.zip
(todo): Add :link, :version.
(todo-save-top-priorities): Remove autoload cookie. (todo-add-category, todo-add-item-non-interactively) (todo-insert-item, todo-mode, todo-cp, todo-show): Fix autoload cookie.
-rw-r--r--lisp/calendar/todo-mode.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index a1939034839..92acea3c443 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -5,7 +5,7 @@
5;; Author: Oliver Seidel <os10000@seidel-space.de> 5;; Author: Oliver Seidel <os10000@seidel-space.de>
6;; [Not clear the above works, July 2000] 6;; [Not clear the above works, July 2000]
7;; Created: 2 Aug 1997 7;; Created: 2 Aug 1997
8;; Version: $Id: todo-mode.el,v 1.43 2000/07/04 11:15:24 fx Exp $ 8;; Version: $Id: todo-mode.el,v 1.44 2000/11/22 22:51:33 fx Exp $
9;; Keywords: calendar, todo 9;; Keywords: calendar, todo
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
@@ -97,7 +97,7 @@
97;; 97;;
98;; Which version of todo-mode.el does this documentation refer to? 98;; Which version of todo-mode.el does this documentation refer to?
99;; 99;;
100;; $Id: todo-mode.el,v 1.43 2000/07/04 11:15:24 fx Exp $ 100;; $Id: todo-mode.el,v 1.44 2000/11/22 22:51:33 fx Exp $
101;; 101;;
102;; Pre-Requisites 102;; Pre-Requisites
103;; 103;;
@@ -268,6 +268,8 @@
268 268
269(defgroup todo nil 269(defgroup todo nil
270 "Maintain a list of todo items." 270 "Maintain a list of todo items."
271 :link '(emacs-commentary-link "todo-mode")
272 :version "21.1"
271 :group 'calendar) 273 :group 'calendar)
272 274
273(defcustom todo-prefix "*/*" 275(defcustom todo-prefix "*/*"
@@ -530,7 +532,7 @@ Use `todo-categories' instead.")
530 (todo-edit-mode) 532 (todo-edit-mode)
531 (narrow-to-region (todo-item-start) (todo-item-end)))) 533 (narrow-to-region (todo-item-start) (todo-item-end))))
532 534
533;;;### autoload 535;;;###autoload
534(defun todo-add-category (cat) 536(defun todo-add-category (cat)
535 "Add new category CAT to the TODO list." 537 "Add new category CAT to the TODO list."
536 (interactive "sCategory: ") 538 (interactive "sCategory: ")
@@ -554,7 +556,7 @@ Use `todo-categories' instead.")
554 todo-prefix todo-category-sep))) 556 todo-prefix todo-category-sep)))
555 0) 557 0)
556 558
557;;;### autoload 559;;;###autoload
558(defun todo-add-item-non-interactively (new-item category) 560(defun todo-add-item-non-interactively (new-item category)
559 "Insert NEW-ITEM in TODO list as a new entry in CATEGORY." 561 "Insert NEW-ITEM in TODO list as a new entry in CATEGORY."
560 (save-excursion 562 (save-excursion
@@ -587,7 +589,7 @@ Use `todo-categories' instead.")
587 (todo-save) 589 (todo-save)
588 (message ""))) 590 (message "")))
589 591
590;;;### autoload 592;;;###autoload
591(defun todo-insert-item (arg) 593(defun todo-insert-item (arg)
592 "Insert new TODO list entry. 594 "Insert new TODO list entry.
593With a prefix argument solicit the category, otherwise use the current 595With a prefix argument solicit the category, otherwise use the current
@@ -613,7 +615,6 @@ category."
613 615
614(defalias 'todo-cmd-inst 'todo-insert-item) 616(defalias 'todo-cmd-inst 'todo-insert-item)
615 617
616;;;### autoload
617(defun todo-insert-item-here () 618(defun todo-insert-item-here ()
618 "Insert new TODO list entry under the cursor." 619 "Insert new TODO list entry under the cursor."
619 (interactive "") 620 (interactive "")
@@ -775,7 +776,6 @@ between each category."
775 (message "Type C-x 1 to remove %s window. M-C-v to scroll the help." 776 (message "Type C-x 1 to remove %s window. M-C-v to scroll the help."
776 todo-print-buffer-name))) 777 todo-print-buffer-name)))
777 778
778;;;###autoload
779(defun todo-save-top-priorities (&optional nof-priorities) 779(defun todo-save-top-priorities (&optional nof-priorities)
780 "Save top priorities for each category in `todo-file-top'. 780 "Save top priorities for each category in `todo-file-top'.
781 781
@@ -904,7 +904,7 @@ Number of entries for each category is given by `todo-print-priorities'."
904 )) 904 ))
905 905
906;; As calendar reads .todo-do before todo-mode is loaded. 906;; As calendar reads .todo-do before todo-mode is loaded.
907;;;### autoload 907;;;###autoload
908(defun todo-mode () 908(defun todo-mode ()
909 "Major mode for editing TODO lists. 909 "Major mode for editing TODO lists.
910 910
@@ -921,7 +921,7 @@ Number of entries for each category is given by `todo-print-priorities'."
921 (defvar entry)) 921 (defvar entry))
922 922
923;; Read about this function in the setup instructions above! 923;; Read about this function in the setup instructions above!
924;;;### autoload 924;;;###autoload
925(defun todo-cp () 925(defun todo-cp ()
926 "Make a diary entry appear only in the current date's diary." 926 "Make a diary entry appear only in the current date's diary."
927 (if (equal (calendar-current-date) date) 927 (if (equal (calendar-current-date) date)
@@ -932,7 +932,7 @@ Number of entries for each category is given by `todo-print-priorities'."
932 932
933\\{todo-edit-mode-map}") 933\\{todo-edit-mode-map}")
934 934
935;;;### autoload 935;;;###autoload
936(defun todo-show () 936(defun todo-show ()
937 "Show TODO list." 937 "Show TODO list."
938 (interactive) 938 (interactive)