emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105871: Undedicate window when quitt


From: martin rudalics
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105871: Undedicate window when quitting should switch to previous buffer.
Date: Thu, 22 Sep 2011 08:56:19 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105871
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-22 08:56:19 +0200
message:
  Undedicate window when quitting should switch to previous buffer.
  
  * window.el (quit-window): Undedicate window when switching to
  previous buffer.  Reported by Thierry Volpiatto
  <address@hidden>.
modified:
  lisp/ChangeLog
  lisp/window.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-09-21 10:42:55 +0000
+++ b/lisp/ChangeLog    2011-09-22 06:56:19 +0000
@@ -1,3 +1,9 @@
+2011-09-22  Martin Rudalics  <address@hidden>
+
+       * window.el (quit-window): Undedicate window when switching to
+       previous buffer.  Reported by Thierry Volpiatto
+       <address@hidden>.
+
 2011-09-21  Michael Albinus  <address@hidden>
 
        * net/tramp.el (tramp-handle-shell-command): Set process sentinel

=== modified file 'lisp/window.el'
--- a/lisp/window.el    2011-09-21 08:20:21 +0000
+++ b/lisp/window.el    2011-09-22 06:56:19 +0000
@@ -2937,6 +2937,8 @@
       ;; Show some other buffer in WINDOW and reset the quit-restore
       ;; parameter.
       (set-window-parameter window 'quit-restore nil)
+      ;; Make sure that WINDOW is no more dedicated.
+      (set-window-dedicated-p window nil)
       (switch-to-prev-buffer window 'bury-or-kill)))
 
     ;; Kill WINDOW's old-buffer if requested


reply via email to

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