changeset 26614:2616986242eb

(menu-bar-mode): Customize.
author Dave Love <fx@gnu.org>
date Fri, 26 Nov 1999 17:33:31 +0000
parents 7f7e6de546ac
children 1d769c66f407
files lisp/menu-bar.el
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Fri Nov 26 17:32:22 1999 +0000
+++ b/lisp/menu-bar.el	Fri Nov 26 17:33:31 1999 +0000
@@ -829,7 +829,15 @@
        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.