diff options
author | Amin Bandali <bandali@kelar.org> | 2022-05-22 12:48:40 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2022-05-22 12:48:40 -0400 |
commit | 64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6 (patch) | |
tree | 55b57c91b54b165c041e4f3f97d94a6cdcfb5035 | |
parent | f9334fa14a43c1d38dffb9f5101491f4e508811d (diff) | |
download | configs-64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6.tar.gz configs-64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6.tar.xz configs-64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6.zip |
* .emacs.d/init.el: Fix logic for loading display-fill-column-indicator.
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/init.el | 9 |
1 files 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) |