]> git.eshelyaron.com Git - emacs.git/commitdiff
Save desktop-save-mode when changed from menu
authorGerd Moellmann <gerd.moellmann@gmail.com>
Thu, 23 Jun 2022 12:38:13 +0000 (14:38 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 23 Jun 2022 12:38:43 +0000 (14:38 +0200)
* lisp/menu-bar.el (menu-bar-options-save): Save desktop-save-mode
(bug#56156).

lisp/menu-bar.el

index 488bf05f3ab5d8ada59592249e4a74902f5161d6..4a943d252840ed2f6c35a62881fa483c61c3b3d0 100644 (file)
@@ -792,6 +792,7 @@ The selected font will be the default on both the existing and future frames."
     (dolist (elt '(scroll-bar-mode
                   debug-on-quit debug-on-error
                   ;; Somehow this works, when tool-bar and menu-bar don't.
+                   desktop-save-mode
                   tooltip-mode window-divider-mode
                   save-place-mode uniquify-buffer-name-style fringe-mode
                   indicate-empty-lines indicate-buffer-boundaries