]> git.eshelyaron.com Git - emacs.git/commit
Fix todo-mode item insertion bug (bug#70937)
authorStephen Berman <stephen.berman@gmx.net>
Tue, 21 May 2024 09:04:17 +0000 (11:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 08:29:33 +0000 (10:29 +0200)
commit5bfb7a92a14c8b9b3ba7b409e34d5e9beb5233fe
tree4f1d54146e68f43f69547e65b9236f67c2fef414
parentb1d14b804edb1bc731ec29b2d054411c12c557b9
Fix todo-mode item insertion bug (bug#70937)

* lisp/calendar/todo-mode.el (todo-insert-item--next-param):
Initially assign each key in todo-mode-map a function identifying
it as invalid for item insertion, thus preventing mistakenly
pressing a key from executing an unwanted different todo-mode
command; the actual item insertion keys are redefined when looping
over the item insertion parameters.

(cherry picked from commit 7f80070232a5c010ae18de9fd8803a66623c074b)
lisp/calendar/todo-mode.el