From 1f34dedae965df4d65224a50520f5275d37412a0 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 21 Aug 2022 02:52:07 +0200 Subject: Emacs: Stay clean --- Emacs.org | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'Emacs.org') diff --git a/Emacs.org b/Emacs.org index a6d5867..9bdbf89 100644 --- a/Emacs.org +++ b/Emacs.org @@ -78,6 +78,30 @@ #+end_src +* User information setup + +#+begin_src emacs-lisp + + (setq user-full-name "Jakub Dlugosz" + user-mail-address "jdlugosz963@gmail.com") + +#+end_src + +* Stay clean + +#+begin_src emacs-lisp + + (setq backup-directory-alist '(("." . "~/.cache/emacs/backup")) + backup-by-copying t + version-control t + delete-old-versions t + kept-new-versions 20 + kept-old-versions 5) + + (setq user-emacs-directory "~/.cache/emacs") + +#+end_src + * Package setup #+begin_src emacs-lisp @@ -123,6 +147,7 @@ #+begin_src emacs-lisp (use-package undo-tree + :diminish :config (setq undo-tree-auto-save-history nil) (global-undo-tree-mode 1)) @@ -160,7 +185,6 @@ #+end_src * UI Configuration - ** Basic UI setup #+begin_src emacs-lisp -- cgit v1.2.3