diff options
| author | Stephen Berman | 2023-06-27 17:50:18 +0200 |
|---|---|---|
| committer | Stephen Berman | 2023-06-27 17:50:18 +0200 |
| commit | 11cead0d73cadd5de077f8bec60045e85f651fc0 (patch) | |
| tree | ecd06771098ad3e670f7d859756b7552b14e50d6 | |
| parent | 6ae83322d4c2792265f39ef84fefd5ca8be94b8d (diff) | |
| download | emacs-11cead0d73cadd5de077f8bec60045e85f651fc0.tar.gz emacs-11cead0d73cadd5de077f8bec60045e85f651fc0.zip | |
Fix todo-mode.el Commentary and a doc string (bug#64298)
* lisp/calendar/todo-mode.el: Explicitly note in the Commentary
that the Todo mode user manual is a separate Info manual in the
Emacs installation.
(todo-always-add-time-string): Replace doc string, which was
mistakenly retained in the initial merge of this version of
todo-mode.el, by a correct description of this user option.
| -rw-r--r-- | lisp/calendar/todo-mode.el | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index ce04a15b2b0..ad18e8f035e 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -49,7 +49,8 @@ | |||
| 49 | 49 | ||
| 50 | ;; To get started, type `M-x todo-show'. For full details of the user | 50 | ;; To get started, type `M-x todo-show'. For full details of the user |
| 51 | ;; interface, commands and options, consult the Todo mode user manual, | 51 | ;; interface, commands and options, consult the Todo mode user manual, |
| 52 | ;; which is included in the Info documentation. | 52 | ;; which is one of the Info manuals included in the standard Emacs |
| 53 | ;; installation. | ||
| 53 | 54 | ||
| 54 | ;;; Code: | 55 | ;;; Code: |
| 55 | 56 | ||
| @@ -1710,11 +1711,19 @@ insertion provided it doesn't begin with `todo-nondiary-marker'." | |||
| 1710 | :group 'todo-edit) | 1711 | :group 'todo-edit) |
| 1711 | 1712 | ||
| 1712 | (defcustom todo-always-add-time-string nil | 1713 | (defcustom todo-always-add-time-string nil |
| 1713 | "Non-nil adds current time to a new item's date header by default. | 1714 | "Whether to add the time to an item's date header by default. |
| 1714 | When the todo insertion commands have a non-nil \"maybe-notime\" | 1715 | |
| 1715 | argument, this reverses the effect of | 1716 | If non-nil, this automatically adds the current time when adding |
| 1716 | `todo-always-add-time-string': if t, these commands omit the | 1717 | a new item using an insertion command without a time parameter, |
| 1717 | current time, if nil, they include it." | 1718 | or when tagging an item as done; when adding a new item using a |
| 1719 | time parameter, or when editing the header of an existing todo item | ||
| 1720 | using a time parameter, typing <return> automatically inserts the | ||
| 1721 | current time. | ||
| 1722 | |||
| 1723 | When this option is nil (the default), no time string is inserted | ||
| 1724 | either automatically or when typing <return> at the time | ||
| 1725 | prompt (and in the latter case, when editing an existing time | ||
| 1726 | string, typing <return> deletes it)." | ||
| 1718 | :type 'boolean | 1727 | :type 'boolean |
| 1719 | :group 'todo-edit) | 1728 | :group 'todo-edit) |
| 1720 | 1729 | ||