HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6331495
)
(window-system): Enable menu bars only if
author
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Jun 1993 17:16:39 +0000
(17:16 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Jun 1993 17:16:39 +0000
(17:16 +0000)
window-system is non-nil.
lisp/menu-bar.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/menu-bar.el
b/lisp/menu-bar.el
index
e67fb70
..
0b0e694
100644
(file)
--- a/
lisp/menu-bar.el
+++ b/
lisp/menu-bar.el
@@
-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)