Check for tool-bar-mode (fix 25.1 travis test)

This commit is contained in:
Henrik Lissner 2017-06-04 21:28:19 +02:00
parent 760297f9fa
commit ee1fc701b9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 2 deletions

View file

@ -115,7 +115,8 @@ mode is detected.")
(tooltip-mode -1) ; relegate tooltips to echo area only
(menu-bar-mode -1)
(tool-bar-mode -1)
(when (fboundp 'tool-bar-mode)
(tool-bar-mode -1))
(when (display-graphic-p)
(scroll-bar-mode -1)
;; buffer name in frame title