[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4356: menu-bar-mode flag argument is inconsistent with universe



> Hmm. The way elisp "optional arguments" work, you can't distinguish
> between (menu-bar-mode nil) and (menu-bar-mode), and both are
> equivalent to "M-x menu-bar-mode" which a user might actually type.
> scroll-bar-mode works the same way -- no arg (or nil) means *toggle*,
> positive arg means turn on, negative arg means turn off.
> (auto-compression-mode is another example)

Note that if menu-bar-mode uses (interactive "p") the default argument
from M-x would be "1".

-- 
Raul



Reply to: