]> git.eshelyaron.com Git - emacs.git/commit
Fix bug in 'todo-jump-to-category' (bug#78608)
authorStephen Berman <stephen.berman@gmx.net>
Wed, 28 May 2025 15:17:23 +0000 (17:17 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:53:00 +0000 (21:53 +0200)
commit97802d8460ddde2bcf8f21296fc8ae979da40e6c
treeab0b40f11d362cfaa2be60c8ea9d6ff0ec69d553
parentf11a214862eae33d260d1e37c5fa89ea0b4fbd0f
Fix bug in 'todo-jump-to-category' (bug#78608)

* lisp/calendar/todo-mode.el (todo-jump-to-category): Eliminate
comparison of the number of Todo categories before and after
specifying the category to jump to and replace it by a check of
whether there are any items in the category, since an existing
category should always have at least one item (perhaps done or
archived).

(cherry picked from commit 4507b6a9c7587c2b3caa241982db13e999197b1c)
lisp/calendar/todo-mode.el