Fix missing 'define-fringe-bitmap' function errors

If Emacs wasn't built with X, Cocoa or NS display support (as is the
case for evm emacs-25.1-travis build), the fringe library is missing and
throws errors.
This commit is contained in:
Henrik Lissner 2017-05-14 11:54:18 +02:00
parent aba87b0916
commit 653e80e655
3 changed files with 20 additions and 16 deletions

View file

@ -218,7 +218,9 @@ file."
:init (add-hook 'lisp-mode-hook #'rainbow-delimiters-mode))
;; indicators for empty lines past EOF
(def-package! vi-tilde-fringe :demand t
(def-package! vi-tilde-fringe
:when (display-graphic-p)
:demand t
:config (global-vi-tilde-fringe-mode t))
;; For a distractions-free-like UI, that dynamically resizes margets and can