1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

* lisp/menu-bar.el: Remove desktop-save-mode from release branch (bug#37594)

; Not to be merged to master
This commit is contained in:
Juri Linkov 2020-01-21 01:09:04 +02:00
parent 3ba0db41e3
commit f2f9f2f98e

View File

@ -1476,18 +1476,6 @@ mail status in mode line"))
(bindings--define-key menu [cursor-separator]
menu-bar-separator)
(bindings--define-key menu [save-desktop]
(menu-bar-make-toggle
toggle-save-desktop-globally desktop-save-mode
"Save State between Sessions"
"Saving desktop state %s"
"Visit desktop of previous session when restarting Emacs"
(require 'desktop)
;; Do it by name, to avoid a free-variable
;; warning during byte compilation.
(set-default
'desktop-save-mode (not (symbol-value 'desktop-save-mode)))))
(bindings--define-key menu [save-place]
(menu-bar-make-toggle
toggle-save-place-globally save-place-mode