diff options
author | Stephen Berman <stephen.berman@gmx.net> | 2023-07-03 14:19:41 +0200 |
---|---|---|
committer | Stephen Berman <stephen.berman@gmx.net> | 2023-07-03 14:19:41 +0200 |
commit | 14ae2101412d66576846d30ab32b4d5b0081383d (patch) | |
tree | b0ca89458aed1e26a30c963e46938f6dfbb62c69 /nt | |
parent | 3ac4b2de77b49688f977158907bcb40946b713db (diff) | |
download | emacs-14ae2101412d66576846d30ab32b4d5b0081383d.tar.gz |
Fix and improve setting priority of todo-mode items (bug#64433)
* lisp/calendar/todo-mode.el (todo-set-item-priority): Bugfixes:
Prevent interactively setting item priority to its current
priority in the same category and prompt user for a different
priority (but allow using the same priority when item is moved to
another category). Ensure that the priority passed as a prefix
argument is suitable: if it is not an integer between 1 and the
highest item number, signal a user error. New feature: Use the
sequence of numbers of the category's items as the minibuffer
history.
* doc/misc/todo-mode.texi (Inserting New Items):
(Reprioritizing Items): Document using the minibuffer history.
* test/lisp/calendar/todo-mode-tests.el
(todo-test-item-insertion-with-priority-1)
(todo-test-item-insertion-with-priority-2)
(todo-test-item-insertion-with-priority-3): New tests.
Diffstat (limited to 'nt')
0 files changed, 0 insertions, 0 deletions