Get rid of undo-tree

undo-tree is great when it works, but I have had problems with undo in
region, and generally seems more buggy than standard undo...
This commit is contained in:
Lars Tveito 2015-08-06 17:10:56 +02:00
parent 985fe8601e
commit 01a5544a9f

View File

@ -256,16 +256,6 @@
inhibit-startup-message t ; No splash screen please. inhibit-startup-message t ; No splash screen please.
initial-scratch-message nil ; Clean scratch buffer. initial-scratch-message nil ; Clean scratch buffer.
ring-bell-function 'ignore ; Quiet. ring-bell-function 'ignore ; Quiet.
;; Save undo history between sessions, if you have an undo-dir
undo-tree-auto-save-history
(file-exists-p
(concat user-emacs-directory "undo"))
undo-tree-history-directory-alist
;; Put undo-history files in a directory, if it exists.
(let ((undo-dir (concat user-emacs-directory "undo")))
(and (file-exists-p undo-dir)
(list (cons "." undo-dir)))))
;; Some mac-bindings interfere with Emacs bindings. ;; Some mac-bindings interfere with Emacs bindings.
(when (boundp 'mac-pass-command-to-system) (when (boundp 'mac-pass-command-to-system)
(setq mac-pass-command-to-system nil)) (setq mac-pass-command-to-system nil))
@ -422,7 +412,6 @@
(safe-diminish "eldoc" 'eldoc-mode) (safe-diminish "eldoc" 'eldoc-mode)
(safe-diminish "flyspell" 'flyspell-mode) (safe-diminish "flyspell" 'flyspell-mode)
(safe-diminish "helm-mode" 'helm-mode) (safe-diminish "helm-mode" 'helm-mode)
(safe-diminish "undo-tree" 'undo-tree-mode)
(safe-diminish "projectile" 'projectile-mode) (safe-diminish "projectile" 'projectile-mode)
(safe-diminish "paredit" 'paredit-mode "()") (safe-diminish "paredit" 'paredit-mode "()")
#+END_SRC #+END_SRC