Fix load order bug in line wrapping
This commit is contained in:
parent
5d14990960
commit
d9993e0d7d
|
@ -1347,8 +1347,10 @@ When a buffer has line numbers, they can interfere with the margins and make the
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-hook! display-line-numbers-mode
|
(add-hook! display-line-numbers-mode
|
||||||
(setq-local visual-fill-column-extra-text-width '(0 . 6))
|
(require 'visual-fill-column)
|
||||||
(visual-fill-column--adjust-window))
|
(when visual-fill-column-mode
|
||||||
|
(setq-local visual-fill-column-extra-text-width '(0 . 6))
|
||||||
|
(visual-fill-column--adjust-window)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Dashboard
|
** Dashboard
|
||||||
|
|
Loading…
Reference in a new issue