Remove visual-fill-column package from Doom core

It is not essential enough to keep in Doom core. I'm working on a new
module (or a rewrite for app/write) to replace it.
This commit is contained in:
Henrik Lissner 2019-05-17 01:08:57 -04:00
parent 67b6c44939
commit 20720cda61
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 1 additions and 15 deletions

View file

@ -364,14 +364,6 @@ read-only or not file-visiting."
;; languages like Lisp.
(setq rainbow-delimiters-max-face-count 3)
;;;###package visual-fill-column
;; For a distractions-free-like UI, that dynamically resizes margins and can
;; center a buffer.
(setq visual-fill-column-center-text t
visual-fill-column-width
;; take Emacs 26 line numbers into account
(+ (if EMACS26+ 6 0) fill-column))
;;
;;; Line numbers

View file

@ -19,7 +19,6 @@
(package! nlinum-hl)
(package! nlinum-relative))
(package! rainbow-delimiters)
(package! visual-fill-column)
(package! restart-emacs)
;; core-editor.el

View file

@ -9,3 +9,4 @@
(when (featurep! +wordnut)
(package! wordnut))
(package! visual-fill-column)

View file

@ -46,12 +46,6 @@
(advice-add #'notmuch-start-notmuch-sentinel :around #'+notmuch*dont-confirm-on-kill-process)
;; Visual enhancements
(defun +notmuch|center-window ()
(setq-local visual-fill-column-width 90)
(visual-fill-column-mode))
(add-hook 'notmuch-show-mode-hook #'+notmuch|center-window)
;; modeline doesn't have much use in these modes
(add-hook! (notmuch-show-mode notmuch-tree-mode notmuch-search-mode)
#'hide-mode-line-mode))