]> 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)
committerEli Zaretskii <eliz@gnu.org>
Sat, 10 Mar 2018 11:48:49 +0000 (13:48 +0200)
commita8be860e17e2a737bda7a4c5075b71f0fb627a92
tree3e972e54fd96c0f671778d56a304ab6352182c04
parentbbf53d99b57bd3d7fc0427d378df2efc6fa10e00
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