mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 10:57:34 +00:00
(command-line): For now, activate tool-bar-mode only
if XPM images are supported.
This commit is contained in:
parent
301d6830c0
commit
65d425aca5
1 changed files with 1 additions and 0 deletions
|
|
@ -655,6 +655,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
|
|||
;; 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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue