From 893944495bbf6e0ae7936924d56db4ac931412bc Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 22 Jul 2018 16:39:28 -0400 Subject: [PATCH] [emacs] enable auto-revert and always use 4 spaces for indentation --- init.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/init.org b/init.org index 69ae88f..fe307b6 100644 --- a/init.org +++ b/init.org @@ -565,6 +565,25 @@ variable. version-control t) #+end_src +*** Auto revert + +Enable automatic reloading of changed buffers and files. + +#+begin_src emacs-lisp +(global-auto-revert-mode 1) +(setq auto-revert-verbose nil + global-auto-revert-non-file-buffers t) +#+end_src + +*** Always use space for indentation + +#+begin_src emacs-lisp +(setq-default + indent-tabs-mode nil + require-final-newline t + tab-width 4) +#+end_src + ** Packages The packages in this section are absolutely essential to my everyday -- 2.20.1