diff options
| author | Juanma Barranquero | 2013-07-15 02:07:51 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2013-07-15 02:07:51 +0200 |
| commit | b958c0ad58a129eca0e65bbdd72a135b5017d4a6 (patch) | |
| tree | 26a5179f96ea28c995c93b6741ec705ac294f3ac /etc | |
| parent | 5c97beae62104207d0c9099919c7955c8e6f57fd (diff) | |
| download | emacs-b958c0ad58a129eca0e65bbdd72a135b5017d4a6.tar.gz emacs-b958c0ad58a129eca0e65bbdd72a135b5017d4a6.zip | |
lisp/desktop.el (desktop-restore-frames): Change default to t.
(desktop-restore-in-current-display): Now offer more options.
(desktop-restoring-reuses-frames): New customization option.
(desktop--saved-states): Doc fix.
(desktop-filter-parameters-alist): New variable, renamed and expanded from
desktop--excluded-frame-parameters.
(desktop--target-display): New variable.
(desktop-switch-to-gui-p, desktop-switch-to-tty-p, desktop--filter-tty*)
(desktop--filter-*-color, desktop--filter-minibuffer)
(desktop--filter-restore-desktop-parm, desktop--filter-save-desktop-parm)
(desktop-restore-in-original-display-p): New functions.
(desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
(desktop--save-minibuffer-frames): New function, inspired by a similar
function from Martin Rudalics.
(desktop--save-frames): Call it; play nice with desktop-globals-to-save.
(desktop--restore-in-this-display-p): Remove.
(desktop--find-frame): Rename from desktop--find-frame-in-display and add
predicate argument.
(desktop--make-full-frame): Remove, integrated into desktop--make-frame.
(desktop--reuse-list): New variable.
(desktop--select-frame, desktop--make-frame, desktop--sort-states):
New functions.
(desktop--restore-frames): Add support for "minibuffer-special" frames.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -255,8 +255,10 @@ on the given date. | |||
| 255 | *** `desktop-auto-save-timeout' defines the number of seconds between | 255 | *** `desktop-auto-save-timeout' defines the number of seconds between |
| 256 | auto-saves of the desktop. | 256 | auto-saves of the desktop. |
| 257 | 257 | ||
| 258 | *** `desktop-restore-frames' enables saving and restoring the window/frame | 258 | *** `desktop-restore-frames', enabled by default, allows saving and |
| 259 | configuration. | 259 | restoring the window/frame configuration. Additional options |
| 260 | `desktop-restore-in-current-display' and | ||
| 261 | `desktop-restoring-reuses-frames' allow further customization. | ||
| 260 | 262 | ||
| 261 | ** Dired | 263 | ** Dired |
| 262 | 264 | ||