summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/menu-bar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index b33a594f27d..625808c4da1 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1286,7 +1286,7 @@ use either \\[customize] or the function `menu-bar-mode'."
:type 'boolean
:group 'frames)
-(defun menu-bar-mode (flag)
+(defun menu-bar-mode (&optional flag)
"Toggle display of a menu bar on each frame.
This command applies to all frames that exist and frames to be
created in the future.