diff options
| author | Stephen Berman | 2017-07-19 15:41:59 +0200 |
|---|---|---|
| committer | Stephen Berman | 2017-07-19 15:41:59 +0200 |
| commit | 0ef1b7ceeb2c32c464236f486355114fa94688ea (patch) | |
| tree | 99b12fd9b453a4c3a12fb98f8cc6e89d4ba0207e | |
| parent | 458057ee29bae8ca450d11905130e90fbe40d727 (diff) | |
| download | emacs-0ef1b7ceeb2c32c464236f486355114fa94688ea.tar.gz emacs-0ef1b7ceeb2c32c464236f486355114fa94688ea.zip | |
Adjust todo-quit to recent change in dired
* lisp/calendar/todo-mode.el (todo-quit): Use quit-window instead of
bury-buffer to exit todo-mode. This restores the desired behavior
of not immediately returning to the exited todo-mode buffer on
quitting another buffer, which a dired bug fix had changed (see
http://lists.gnu.org/archive/html/emacs-devel/2017-07/msg00739.html).
| -rw-r--r-- | lisp/calendar/todo-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 235eb83e85b..e184fdc591c 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -823,7 +823,7 @@ buries it and restores state as needed." | |||
| 823 | (when (buffer-live-p buf) (kill-buffer buf))) | 823 | (when (buffer-live-p buf) (kill-buffer buf))) |
| 824 | ((eq major-mode 'todo-mode) | 824 | ((eq major-mode 'todo-mode) |
| 825 | (todo-save) | 825 | (todo-save) |
| 826 | (bury-buffer))))) | 826 | (quit-window))))) |
| 827 | 827 | ||
| 828 | ;; ----------------------------------------------------------------------------- | 828 | ;; ----------------------------------------------------------------------------- |
| 829 | ;;; Navigation between and within categories | 829 | ;;; Navigation between and within categories |