From d9993e0d7d980abc4817681ba6e4894f93f27d49 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Tue, 23 Apr 2024 15:11:52 -0400 Subject: [PATCH] Fix load order bug in line wrapping --- config.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 50def67..f7051ff 100644 --- a/config.org +++ b/config.org @@ -1347,8 +1347,10 @@ When a buffer has line numbers, they can interfere with the margins and make the #+begin_src emacs-lisp (add-hook! display-line-numbers-mode - (setq-local visual-fill-column-extra-text-width '(0 . 6)) - (visual-fill-column--adjust-window)) + (require 'visual-fill-column) + (when visual-fill-column-mode + (setq-local visual-fill-column-extra-text-width '(0 . 6)) + (visual-fill-column--adjust-window))) #+end_src ** Dashboard