Commit 88a26eb4 authored by Dave Love's avatar Dave Love
Browse files

(menu-bar-mode): Customize.

parent c3979f12
......@@ -829,7 +829,15 @@ Do the same for the keys of the same name."
(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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment