Skip to content

Commit d030899

Browse files
committed
fix(undo-tree): Only change the variable if the undo tree is loaded
1 parent 38d6008 commit d030899

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spacemacs.org

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ E.g. when visiting a soft/hard link.
505505
#+END_SRC
506506
*** Do not autosave undo history
507507
#+BEGIN_SRC emacs-lisp :tangle user-config.el
508-
(setq undo-tree-auto-save-history nil)
508+
(with-eval-after-load 'undo-tree
509+
(setq undo-tree-auto-save-history nil))
509510
#+END_SRC
510511
*** Native compilation
511512
#+BEGIN_SRC emacs-lisp :tangle user-config.el

0 commit comments

Comments
 (0)