]> git.eshelyaron.com Git - emacs.git/commitdiff
(menu-bar-mode): Make arg optional.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Dec 2001 20:39:26 +0000 (20:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Dec 2001 20:39:26 +0000 (20:39 +0000)
lisp/menu-bar.el

index b33a594f27dfb3a14bc3293a2a143ae4b3856c06..625808c4da10df783f8cda7ec55cfb246397372c 100644 (file)
@@ -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.