• Stephen Berman's avatar
    Make todo-show work when adding and deleting a new todo file · 40f8ade7
    Stephen Berman authored
    * 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.
    40f8ade7
todo-mode.el 259 KB