]> git.eshelyaron.com Git - emacs.git/commit
Avoid making todo-mode buffers manually editable
authorStephen Berman <stephen.berman@gmx.net>
Tue, 27 Jun 2023 15:27:42 +0000 (17:27 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Tue, 27 Jun 2023 15:27:42 +0000 (17:27 +0200)
commitee41f07be52455e33fbb96ce84519b3569d302be
tree4611c73e3532adcb909a6ba0a13e6f0c4e73972d
parent53332bdf625c5a92f2c33f9770cf34052a7c4d36
Avoid making todo-mode buffers manually editable

* lisp/calendar/todo-mode.el (todo-add-category)
(todo-move-category, todo-edit-item--header)
(todo-set-item-priority, todo-move-item, todo-item-undone)
(todo-archive-done-item, todo-set-category-number): Restrict the
scope of nil buffer-read-only to the function calls that change
buffer text, thereby preventing todo mode buffers from becoming
manually editable and hence possibly corrupted when the minibuffer
is in use.
lisp/calendar/todo-mode.el