]> git.eshelyaron.com Git - emacs.git/commit
Improve support for desktop restoration in daemon mode
authorEli Zaretskii <eliz@gnu.org>
Sat, 10 Mar 2018 11:48:49 +0000 (13:48 +0200)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:15:03 +0000 (14:15 +0800)
commitf3b9db19f1dcf515c903cd797b368bfbe2b612dd
treef64c74ebf3edefb8a5154b67c3b1ff76ba334d67
parent958e0ff2e7931da1147373c1d021aed1573f96ee
Improve support for desktop restoration in daemon mode

* lisp/server.el (server-after-make-frame-hook): New hook.
(server-execute): Call it after creating a new frame or before
switching to a buffer shown in a client frame.  (Bug#30421)

* doc/emacs/misc.texi (Saving Emacs Sessions): Adjust advice for
restoring desktop in daemon mode to the new hook.
* doc/lispref/frames.texi (Creating Frames, Standard Hooks):
Document server-after-make-frame-hook.

* etc/NEWS: Mention server-after-make-frame-hook.
doc/emacs/misc.texi
doc/lispref/frames.texi
doc/lispref/hooks.texi
etc/NEWS
lisp/server.el