bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#30421: 25.3; desktop.el: Steal lock when no living "emacs" process o


From: Pierre Neidhardt
Subject: bug#30421: 25.3; desktop.el: Steal lock when no living "emacs" process owns it
Date: Sun, 11 Feb 2018 19:41:22 +0100
User-agent: mu4e 1.0; emacs 25.3.1

One last question :) Is this the right way to initialize desktop-mode
after frames are made then?

        (defun desktop-init (_frame)
          (desktop-save-mode)
          (desktop-read)
          0)
        (add-hook 'after-make-frame-functions 'desktop-init)

It seems that those functions are expected to return a number, hence the 0.

Attachment: signature.asc
Description: PGP signature


reply via email to

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