Minor general refactor

This commit is contained in:
Henrik Lissner 2017-06-20 16:19:40 +02:00
parent e44f5d0457
commit 8f00b3d07a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 8 additions and 5 deletions

View file

@ -208,6 +208,7 @@ fundamental-mode) for performance sake."
(setq undo-tree-auto-save-history t
undo-tree-history-directory-alist
(list (cons "." (concat doom-cache-dir "undo-tree-hist/"))))
(defun doom*silence-undo-tree-load (orig-fn &rest args)
"Silence undo-tree load errors."
(quiet! (apply orig-fn args)))