From 2992cfecd9e5b6b4a24dd056225e39f358523be8 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 15 Apr 2022 18:31:17 +0300 Subject: [PATCH] Global undo mode --- profiles/applications/emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiles/applications/emacs/init.el b/profiles/applications/emacs/init.el index 418b6c1..6663ce8 100755 --- a/profiles/applications/emacs/init.el +++ b/profiles/applications/emacs/init.el @@ -216,6 +216,10 @@ (setq initial-major-mode 'text-mode) +(use-package undo-tree-mode + :config + (global-undo)) + (defun compile-on-save-start () (let ((buffer (compilation-find-buffer))) (unless (get-buffer-process buffer)