diff options
author | Stephen Berman <stephen.berman@gmx.net> | 2018-09-03 22:40:24 +0200 |
---|---|---|
committer | Stephen Berman <stephen.berman@gmx.net> | 2018-09-03 22:40:24 +0200 |
commit | 40f8ade7c81ab6f99537691ae00d2d42069bdb20 (patch) | |
tree | 470239326b29b7b0aef70878b455e8920eff5bac /test/lisp/emacs-lisp/cl-extra-tests.el | |
parent | 7e24039a9747cc1117b17631511e42cb3576362b (diff) | |
download | emacs-40f8ade7c81ab6f99537691ae00d2d42069bdb20.tar.gz emacs-40f8ade7c81ab6f99537691ae00d2d42069bdb20.tar.bz2 emacs-40f8ade7c81ab6f99537691ae00d2d42069bdb20.zip |
Make todo-show work when adding and deleting a new todo file
* lisp/calendar/todo-mode.el (todo-add-file): Since
todo-current-todo-file must be set before calling todo-show, but
the buffer is not yet in todo-mode, which makes it buffer local,
explicitly set it buffer locally (bug#32627).
* test/lisp/calendar/todo-mode-tests.el (todo-test--add-file)
(todo-test--delete-file): New functions.
(todo-test-add-and-delete-file): New test.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-extra-tests.el')
0 files changed, 0 insertions, 0 deletions