]> git.eshelyaron.com Git - emacs.git/commit
Prevent an infinite loop in todo-mode (bug#66994)
authorStephen Berman <stephen.berman@gmx.net>
Wed, 8 Nov 2023 23:13:06 +0000 (00:13 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Wed, 8 Nov 2023 23:13:06 +0000 (00:13 +0100)
commitb7871cefe7b94ac6a6a4fd561d41af00ae3d3578
tree531622436828c1855d978d18ac8525e1139225a2
parentfa8cc4c9ee271d88d52f2573d7d1ef54c7d0ca8e
Prevent an infinite loop in todo-mode (bug#66994)

* lisp/calendar/todo-mode.el (todo-item-start): Moving an item to
a todo file (with `C-u m') that had not yet been read into a
buffer puts point at the beginning of the file, from where it is
impossible to reach todo-item-start by this function, so don't try
in that case.
lisp/calendar/todo-mode.el