mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-19 04:21:45 -07:00
(window-system): Enable menu bars only if
window-system is non-nil.
This commit is contained in:
parent
633149516a
commit
d0dbd3bfc1
1 changed files with 2 additions and 1 deletions
|
|
@ -227,7 +227,8 @@ turn off menu bars; otherwise, turn on menu bars."
|
|||
(setq frames (cdr frames)))))
|
||||
|
||||
;; Make frames created from now on have a menu bar.
|
||||
(menu-bar-mode t)
|
||||
(if window-system
|
||||
(menu-bar-mode t))
|
||||
|
||||
(provide 'menu-bar)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue