emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 0ef1b7c: Adjust todo-quit to recent change in dired


From: Stephen Berman
Subject: [Emacs-diffs] master 0ef1b7c: Adjust todo-quit to recent change in dired
Date: Wed, 19 Jul 2017 09:42:29 -0400 (EDT)

branch: master
commit 0ef1b7ceeb2c32c464236f486355114fa94688ea
Author: Stephen Berman <address@hidden>
Commit: Stephen Berman <address@hidden>

    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).
---
 lisp/calendar/todo-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 235eb83..e184fdc 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -823,7 +823,7 @@ buries it and restores state as needed."
           (when (buffer-live-p buf) (kill-buffer buf)))
          ((eq major-mode 'todo-mode)
           (todo-save)
-          (bury-buffer)))))
+           (quit-window)))))
 
 ;; 
-----------------------------------------------------------------------------
 ;;; Navigation between and within categories



reply via email to

[Prev in Thread] Current Thread [Next in Thread]