Remove doom-fringe-size; set default fringe in :ui doom

There was no way to customize doom-fringe-size. Better to customize
fringes by using fringe-mode, {left,right}-fringe-width or
set-window-fringes directly.
This commit is contained in:
Henrik Lissner 2018-05-11 00:01:05 +02:00
parent 2b2f6bcf32
commit 52cdb0bd83
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 4 additions and 6 deletions

View file

@ -277,7 +277,7 @@ that window has been changed or closed."
(defun +popup|adjust-fringes ()
"Hides the fringe in popup windows, restoring them if `+popup-buffer-mode' is
disabled."
(let ((f (if +popup-buffer-mode 0 doom-fringe-size)))
(let ((f (if +popup-buffer-mode 0)))
(set-window-fringes nil f f fringes-outside-margins)))
;;;###autoload