Mercurial > emacs
changeset 98596:6560d393fd4d
(command-line): Don't invoke tool-bar-mode if it is not fboundp.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 10 Oct 2008 08:53:14 +0000 |
parents | d26dc6b50206 |
children | 36ba1f7c4d10 |
files | lisp/startup.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/startup.el Thu Oct 09 19:31:51 2008 +0000 +++ b/lisp/startup.el Fri Oct 10 08:53:14 2008 +0000 @@ -902,6 +902,7 @@ ;; 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.