mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix void-function set-scroll-bar-mode #2310
When emacs is built without GUI support.
This commit is contained in:
@ -15,7 +15,8 @@
|
|||||||
;; Prevent the glimpse of un-styled Emacs by disabling these UI elements early.
|
;; Prevent the glimpse of un-styled Emacs by disabling these UI elements early.
|
||||||
(setq tool-bar-mode nil
|
(setq tool-bar-mode nil
|
||||||
menu-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
|
;; 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
|
;; font. By inhibiting this, we easily halve startup times with fonts that are
|
||||||
|
Reference in New Issue
Block a user