From 64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 22 May 2022 12:48:40 -0400 Subject: [PATCH 1/1] * .emacs.d/init.el: Fix logic for loading display-fill-column-indicator. --- .emacs.d/init.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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) -- 2.20.1