From: Juri Linkov Date: Mon, 20 Jan 2020 23:09:04 +0000 (+0200) Subject: * lisp/menu-bar.el: Remove desktop-save-mode from release branch (bug#37594) X-Git-Tag: emacs-27.0.90~120 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f2f9f2f98e;p=emacs.git * lisp/menu-bar.el: Remove desktop-save-mode from release branch (bug#37594) ; Not to be merged to master --- diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 731da193ef1..8f825a19adc 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -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