Fix void-function set-scroll-bar-mode #2310
When emacs is built without GUI support.
This commit is contained in:
parent
d18e298a9e
commit
8a9d8f03e2
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@
|
|||
;; Prevent the glimpse of un-styled Emacs by disabling these UI elements early.
|
||||
(setq tool-bar-mode nil
|
||||
menu-bar-mode nil)
|
||||
(set-scroll-bar-mode nil)
|
||||
(when (fboundp 'set-scroll-bar-mode)
|
||||
(set-scroll-bar-mode nil))
|
||||
|
||||
;; Resizing the Emacs frame can be a terribly expensive part of changing the
|
||||
;; font. By inhibiting this, we easily halve startup times with fonts that are
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue