From 74aa9c9e3a7ebc7e142107347b150d1e0adc8065 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 30 Apr 2021 17:36:25 -0500 Subject: Customize fringes Still to think about: changing the `fringe' face. Do I want it another color? Do I even need any buffer boundaries? Hm.... --- init.el | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 38adf44..d6e8fc8 100644 --- a/init.el +++ b/init.el @@ -63,12 +63,6 @@ ;; see also: `acdw' and friends. Functions here aren't big enough, or they're ;; too tightly bound to stuff here, to be placed in `acdw'. -;; Regular modes: `text-mode' and `prog-mode' -(defun acdw/fringe-setup () - (setq-local indicate-empty-lines t - indicate-buffer-boundaries '((top . right) - (bottom . right)))) - ;; Flash the mode line (defun flash-mode-line () "Flash the modeline as a bell." @@ -404,7 +398,7 @@ (:hook show-paren-mode electric-pair-local-mode - acdw/fringe-setup) + acdw/setup-fringes) (add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)) @@ -513,7 +507,7 @@ (setup text (:hook turn-on-auto-fill - acdw/fringe-setup)) + acdw/setup-fringes)) (setup uniquify (:option uniquify-buffer-name-style 'forward @@ -848,7 +842,7 @@ if ripgrep is installed, otherwise `consult-grep'." (if olivetti-mode (setq-local indicate-empty-lines nil indicate-buffer-boundaries nil) - (acdw/fringe-setup))))) + (acdw/setup-fringes))))) (setup (:straight (orderless :host github -- cgit 1.4.1-21-gabe81