Add fboundp guard around fringe-mode

This commit is contained in:
Henrik Lissner 2017-06-28 18:05:11 +02:00
parent 25fb52e317
commit 29f88e6c63
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -214,7 +214,7 @@ local value, whether or not it's permanent-local. Therefore, we cycle
;; a good indicator that Emacs isn't frozen
(add-hook 'doom-post-init-hook #'blink-cursor-mode)
;; standardize default fringe width
(fringe-mode doom-fringe-size)
(if (fboundp 'fringe-mode) (fringe-mode doom-fringe-size))
;; draw me like one of your French editors
(tooltip-mode -1) ; relegate tooltips to echo area only
(menu-bar-mode -1)