Commit ade0f0b8 authored by Dave Love's avatar Dave Love
Browse files

(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.
parent 8798a92b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: Oliver Seidel <os10000@seidel-space.de> ;; Author: Oliver Seidel <os10000@seidel-space.de>
;; [Not clear the above works, July 2000] ;; [Not clear the above works, July 2000]
;; Created: 2 Aug 1997 ;; Created: 2 Aug 1997
;; Version: $Id: todo-mode.el,v 1.43 2000/07/04 11:15:24 fx Exp $ ;; Version: $Id: todo-mode.el,v 1.44 2000/11/22 22:51:33 fx Exp $
;; Keywords: calendar, todo ;; Keywords: calendar, todo
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
;; ;;
;; Which version of todo-mode.el does this documentation refer to? ;; Which version of todo-mode.el does this documentation refer to?
;; ;;
;; $Id: todo-mode.el,v 1.43 2000/07/04 11:15:24 fx Exp $ ;; $Id: todo-mode.el,v 1.44 2000/11/22 22:51:33 fx Exp $
;; ;;
;; Pre-Requisites ;; Pre-Requisites
;; ;;
...@@ -268,6 +268,8 @@ ...@@ -268,6 +268,8 @@
(defgroup todo nil (defgroup todo nil
"Maintain a list of todo items." "Maintain a list of todo items."
:link '(emacs-commentary-link "todo-mode")
:version "21.1"
:group 'calendar) :group 'calendar)
(defcustom todo-prefix "*/*" (defcustom todo-prefix "*/*"
...@@ -530,7 +532,7 @@ Use `todo-categories' instead.") ...@@ -530,7 +532,7 @@ Use `todo-categories' instead.")
(todo-edit-mode) (todo-edit-mode)
(narrow-to-region (todo-item-start) (todo-item-end)))) (narrow-to-region (todo-item-start) (todo-item-end))))
;;;### autoload ;;;###autoload
(defun todo-add-category (cat) (defun todo-add-category (cat)
"Add new category CAT to the TODO list." "Add new category CAT to the TODO list."
(interactive "sCategory: ") (interactive "sCategory: ")
...@@ -554,7 +556,7 @@ Use `todo-categories' instead.") ...@@ -554,7 +556,7 @@ Use `todo-categories' instead.")
todo-prefix todo-category-sep))) todo-prefix todo-category-sep)))
0) 0)
;;;### autoload ;;;###autoload
(defun todo-add-item-non-interactively (new-item category) (defun todo-add-item-non-interactively (new-item category)
"Insert NEW-ITEM in TODO list as a new entry in CATEGORY." "Insert NEW-ITEM in TODO list as a new entry in CATEGORY."
(save-excursion (save-excursion
...@@ -587,7 +589,7 @@ Use `todo-categories' instead.") ...@@ -587,7 +589,7 @@ Use `todo-categories' instead.")
(todo-save) (todo-save)
(message ""))) (message "")))
;;;### autoload ;;;###autoload
(defun todo-insert-item (arg) (defun todo-insert-item (arg)
"Insert new TODO list entry. "Insert new TODO list entry.
With a prefix argument solicit the category, otherwise use the current With a prefix argument solicit the category, otherwise use the current
...@@ -613,7 +615,6 @@ category." ...@@ -613,7 +615,6 @@ category."
(defalias 'todo-cmd-inst 'todo-insert-item) (defalias 'todo-cmd-inst 'todo-insert-item)
;;;### autoload
(defun todo-insert-item-here () (defun todo-insert-item-here ()
"Insert new TODO list entry under the cursor." "Insert new TODO list entry under the cursor."
(interactive "") (interactive "")
...@@ -775,7 +776,6 @@ between each category." ...@@ -775,7 +776,6 @@ between each category."
(message "Type C-x 1 to remove %s window. M-C-v to scroll the help." (message "Type C-x 1 to remove %s window. M-C-v to scroll the help."
todo-print-buffer-name))) todo-print-buffer-name)))
;;;###autoload
(defun todo-save-top-priorities (&optional nof-priorities) (defun todo-save-top-priorities (&optional nof-priorities)
"Save top priorities for each category in `todo-file-top'. "Save top priorities for each category in `todo-file-top'.
...@@ -904,7 +904,7 @@ Number of entries for each category is given by `todo-print-priorities'." ...@@ -904,7 +904,7 @@ Number of entries for each category is given by `todo-print-priorities'."
)) ))
;; As calendar reads .todo-do before todo-mode is loaded. ;; As calendar reads .todo-do before todo-mode is loaded.
;;;### autoload ;;;###autoload
(defun todo-mode () (defun todo-mode ()
"Major mode for editing TODO lists. "Major mode for editing TODO lists.
...@@ -921,7 +921,7 @@ Number of entries for each category is given by `todo-print-priorities'." ...@@ -921,7 +921,7 @@ Number of entries for each category is given by `todo-print-priorities'."
(defvar entry)) (defvar entry))
;; Read about this function in the setup instructions above! ;; Read about this function in the setup instructions above!
;;;### autoload ;;;###autoload
(defun todo-cp () (defun todo-cp ()
"Make a diary entry appear only in the current date's diary." "Make a diary entry appear only in the current date's diary."
(if (equal (calendar-current-date) date) (if (equal (calendar-current-date) date)
...@@ -932,7 +932,7 @@ Number of entries for each category is given by `todo-print-priorities'." ...@@ -932,7 +932,7 @@ Number of entries for each category is given by `todo-print-priorities'."
\\{todo-edit-mode-map}") \\{todo-edit-mode-map}")
;;;### autoload ;;;###autoload
(defun todo-show () (defun todo-show ()
"Show TODO list." "Show TODO list."
(interactive) (interactive)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment