akhayyat/dotfiles
emacs: undo-tree: set directory for undo-tree files and enable diff and timestamps
Commit bf2d1885f6f4 · Ahmad Khayyat · 2022-12-02 22:07 +0300
Comments
No comments yet.
Diff
diff --git a/emacs b/emacs
--- a/emacs
+++ b/emacs
@@ -246,6 +246,9 @@
;; http://www.dr-qubit.org/emacs.php#undo-tree
(require 'undo-tree)
(global-undo-tree-mode)
+(setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo-tree-history")))
+(setq undo-tree-visualizer-diff t)
+(setq undo-tree-visualizer-timestamps t)
;;========================
;; Third-Party Packages