From 88a26eb4135ae3ba887a6094144991d074f1e563 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 26 Nov 1999 17:33:31 +0000 Subject: [PATCH] (menu-bar-mode): Customize. --- lisp/menu-bar.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 2c08e4f5b66..85083fc03f9 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -829,7 +829,15 @@ Do the same for the keys of the same name." minibuffer-local-map minibuffer-local-completion-map)) -(defvar menu-bar-mode nil) +(defcustom menu-bar-mode nil + "Toggle display of a menu bar on each frame. +Setting this variable directly does not take effect; +use either \\[customize] or the function `menu-bar-mode'." + :set (lambda (symbol value) + (menu-bar-mode (or value 0))) + :initialize 'custom-initialize-default + :type 'boolean + :group 'frames) (defun menu-bar-mode (flag) "Toggle display of a menu bar on each frame. -- 2.39.5