diff options
author | Eli Zaretskii <eliz@gnu.org> | 2008-10-10 08:53:14 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2008-10-10 08:53:14 +0000 |
commit | 35eb69ce0ef2443537716b724901c90cfceed60c (patch) | |
tree | d44846e33d9cab9b14376b745bf172497c26f2a0 /lisp/startup.el | |
parent | 2c9a49ae9f2ea93ad9fdd373bac6aaa30ac88e97 (diff) | |
download | emacs-35eb69ce0ef2443537716b724901c90cfceed60c.tar.gz |
(command-line): Don't invoke tool-bar-mode if it is not fboundp.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r-- | lisp/startup.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 0ffb6b8ffec..8c2fd91c3f7 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -902,6 +902,7 @@ opening the first frame (e.g. open a connection to an X server).") ;; even in tty frames, which means that there is a tool-bar if Emacs ;; later opens a graphical frame. (unless (or noninteractive emacs-basic-display + (not (fboundp 'tool-bar-mode)) ;; The tool-bar-lines parameter is nil if starting on a ;; tty; it is 0 if starting on a graphical display with ;; the toolbar disabled via X resources. |