# HG changeset patch # User Dave Love # Date 978444375 0 # Node ID c8d0a552d56eea6c2f3cffc04ceed15dcff3b0be # Parent 78e2d17df950116b18a183e1b9cac05df086a596 (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. diff -r 78e2d17df950 -r c8d0a552d56e lisp/calendar/todo-mode.el --- a/lisp/calendar/todo-mode.el Tue Jan 02 14:05:57 2001 +0000 +++ b/lisp/calendar/todo-mode.el Tue Jan 02 14:06:15 2001 +0000 @@ -5,7 +5,7 @@ ;; Author: Oliver Seidel ;; [Not clear the above works, July 2000] ;; 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 ;; This file is part of GNU Emacs. @@ -97,7 +97,7 @@ ;; ;; 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 ;; @@ -268,6 +268,8 @@ (defgroup todo nil "Maintain a list of todo items." + :link '(emacs-commentary-link "todo-mode") + :version "21.1" :group 'calendar) (defcustom todo-prefix "*/*" @@ -530,7 +532,7 @@ (todo-edit-mode) (narrow-to-region (todo-item-start) (todo-item-end)))) -;;;### autoload +;;;###autoload (defun todo-add-category (cat) "Add new category CAT to the TODO list." (interactive "sCategory: ") @@ -554,7 +556,7 @@ todo-prefix todo-category-sep))) 0) -;;;### autoload +;;;###autoload (defun todo-add-item-non-interactively (new-item category) "Insert NEW-ITEM in TODO list as a new entry in CATEGORY." (save-excursion @@ -587,7 +589,7 @@ (todo-save) (message ""))) -;;;### autoload +;;;###autoload (defun todo-insert-item (arg) "Insert new TODO list entry. With a prefix argument solicit the category, otherwise use the current @@ -613,7 +615,6 @@ (defalias 'todo-cmd-inst 'todo-insert-item) -;;;### autoload (defun todo-insert-item-here () "Insert new TODO list entry under the cursor." (interactive "") @@ -775,7 +776,6 @@ (message "Type C-x 1 to remove %s window. M-C-v to scroll the help." todo-print-buffer-name))) -;;;###autoload (defun todo-save-top-priorities (&optional nof-priorities) "Save top priorities for each category in `todo-file-top'. @@ -904,7 +904,7 @@ )) ;; As calendar reads .todo-do before todo-mode is loaded. -;;;### autoload +;;;###autoload (defun todo-mode () "Major mode for editing TODO lists. @@ -921,7 +921,7 @@ (defvar entry)) ;; Read about this function in the setup instructions above! -;;;### autoload +;;;###autoload (defun todo-cp () "Make a diary entry appear only in the current date's diary." (if (equal (calendar-current-date) date) @@ -932,7 +932,7 @@ \\{todo-edit-mode-map}") -;;;### autoload +;;;###autoload (defun todo-show () "Show TODO list." (interactive)