Remove fringe-helper package

This commit is contained in:
Henrik Lissner 2018-05-08 19:42:19 +02:00
parent 3488821b2e
commit 0afae2eacf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 17 additions and 25 deletions

View file

@ -77,6 +77,15 @@ shorter major mode name in the mode-line. See `doom|set-mode-name'.")
(fset #'yes-or-no-p #'y-or-n-p) ; y/n instead of yes/no
;;
;; Shims
;;
(unless (fboundp 'define-fringe-bitmap)
;; doesn't exist in terminal Emacs; define it to prevent errors
(defun define-fringe-bitmap (&rest _)))
;;
;; Modeline library
;;
@ -162,13 +171,6 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
all-the-icons-wicon all-the-icons-alltheicon))
(advice-add fn :around #'doom*disable-all-the-icons-in-tty)))
(def-package! fringe-helper
:commands (fringe-helper-define fringe-helper-convert)
:init
(unless (fboundp 'define-fringe-bitmap)
;; doesn't exist in terminal Emacs; define it to prevent errors
(defun define-fringe-bitmap (&rest _))))
(def-package! hideshow ; built-in
:commands (hs-minor-mode hs-toggle-hiding hs-already-hidden-p)
:config (setq hs-hide-comments-when-hiding-all nil))