summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorStephen Berman <stephen.berman@gmx.net>2023-06-27 17:27:42 +0200
committerStephen Berman <stephen.berman@gmx.net>2023-06-27 17:27:42 +0200
commitee41f07be52455e33fbb96ce84519b3569d302be (patch)
tree4611c73e3532adcb909a6ba0a13e6f0c4e73972d /lisp/emacs-lisp/debug.el
parent53332bdf625c5a92f2c33f9770cf34052a7c4d36 (diff)
downloademacs-ee41f07be52455e33fbb96ce84519b3569d302be.tar.gz
emacs-ee41f07be52455e33fbb96ce84519b3569d302be.tar.bz2
emacs-ee41f07be52455e33fbb96ce84519b3569d302be.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions