changeset 32206:c743497a67e3

(command-line): For now, activate tool-bar-mode only if XPM images are supported.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 06 Oct 2000 11:42:45 +0000
parents dfa83e0eb90e
children 03dee1b8a506
files lisp/startup.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Fri Oct 06 11:42:03 2000 +0000
+++ b/lisp/startup.el	Fri Oct 06 11:42:45 2000 +0000
@@ -655,6 +655,7 @@
   ;; If frame was created with a tool bar, switch tool-bar-mode on.
   (when (and (not noninteractive)
 	     (memq window-system '(x w32))
+	     (image-type-available-p 'xpm)
 	     (> (frame-parameter nil 'tool-bar-lines) 0))
     (tool-bar-mode t))