• Eli Zaretskii's avatar
    Improve support for desktop restoration in daemon mode · a8be860e
    Eli Zaretskii authored
    * 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.
frames.texi 179 KB