From: Amin Bandali Date: Sun, 22 Jul 2018 20:39:28 +0000 (-0400) Subject: [emacs] enable auto-revert and always use 4 spaces for indentation X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/893944495bbf6e0ae7936924d56db4ac931412bc?ds=sidebyside [emacs] enable auto-revert and always use 4 spaces for indentation --- 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