]> git.eshelyaron.com Git - emacs.git/commit
Fix todo-mode bug involving archived items (bug#23447)
authorStephen Berman <stephen.berman@gmx.net>
Wed, 4 May 2016 19:52:32 +0000 (21:52 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Wed, 4 May 2016 19:52:32 +0000 (21:52 +0200)
commit0932b948971770201b135d5f0dee82b91a1eef92
tree6dc46c625d02d661971de186690fa913b2ee61bf
parente68ad1f3f08268f0642ba19e7c894f9e05cb8e6f
Fix todo-mode bug involving archived items (bug#23447)

* lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
from Todo Categories mode to a category with only archived items
and todo-skip-archived-categories is non-nil, make sure the
archive file buffer is in Todo Archive mode to prevent
todo-category-select from raising an error, and don't set
todo-current-todo-file, since that makes todo-show display the
archived category.  Remove a no-op call to kill-buffer, which is
already called in todo-insert-category-line.
lisp/calendar/todo-mode.el