emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 845ee57: Restore frames into the current display


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 845ee57: Restore frames into the current display by default
Date: Mon, 30 May 2016 05:48:07 +0000 (UTC)

branch: emacs-25
commit 845ee5773196461f3d2a0d4b964eaeb65ff63c28
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Restore frames into the current display by default
    
    * lisp/desktop.el (desktop-restore-in-current-display):
    Default to t, not nil (Bug#23604).
    * etc/NEWS: Mention the change.
---
 etc/NEWS        |    4 ++++
 lisp/desktop.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index 670465f..00515f5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -361,6 +361,10 @@ recommended to do this as soon as you have firmly upgraded 
to Emacs
 25.1 (or later).  Should you ever need to downgrade your desktop file
 to version 206, you can do this with 'C-u C-u M-x desktop-save'.
 
+---
+*** desktop-restore-in-current-display now defaults to t, not nil.
+That is, Emacs by default now restores frames into the current display.
+
 +++
 ** New function 'bookmark-set-no-overwrite' bound to 'C-x r M'.
 It raises an error if a bookmark of that name already exists,
diff --git a/lisp/desktop.el b/lisp/desktop.el
index dba3277..1f460b7 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -408,7 +408,7 @@ See related options `desktop-restore-reuses-frames',
   :group 'desktop
   :version "24.4")
 
-(defcustom desktop-restore-in-current-display nil
+(defcustom desktop-restore-in-current-display t
   "Controls how restoring of frames treats displays.
 If t, restores frames into the current display.
 If nil, restores frames into their original displays (if possible).



reply via email to

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