From: Amin Bandali Date: Sun, 22 May 2022 16:48:40 +0000 (-0400) Subject: * .emacs.d/init.el: Fix logic for loading display-fill-column-indicator. X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6?ds=sidebyside * .emacs.d/init.el: Fix logic for loading display-fill-column-indicator. --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4183865..e6c6a14 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -854,11 +854,10 @@ Effectively a very simple light/dark theme toggle switch." ;; org-ref-bibliography-notes "~/usr/org/notes.org" ;; org-ref-pdf-directory "~/usr/org/bibtex-pdfs/")) -(when (featurep 'display-fill-column-indicator) - (run-with-idle-timer - 0.2 nil #'require 'display-fill-column-indicator) - (with-eval-after-load 'display-fill-column-indicator - (global-display-fill-column-indicator-mode 1))) +(run-with-idle-timer + 0.2 nil #'require 'display-fill-column-indicator nil 'noerror) +(with-eval-after-load 'display-fill-column-indicator + (global-display-fill-column-indicator-mode 1)) (with-eval-after-load 'window (setq split-width-threshold 150)