aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-08-04 14:37:24 -0500
committerJesús <heckyel@hyperbola.info>2018-08-04 14:37:24 -0500
commitb48545bb7b083822d88e879d0c3e95f08d189981 (patch)
tree3e1c1078f292c9599f17f7280a832e5abd187551 /lisp
parent34de2970c2ff070624055ab22728ec0681172da7 (diff)
downloademacs-personal-b48545bb7b083822d88e879d0c3e95f08d189981.tar.lz
emacs-personal-b48545bb7b083822d88e879d0c3e95f08d189981.tar.xz
emacs-personal-b48545bb7b083822d88e879d0c3e95f08d189981.zip
Added auto-revert-mode
Active auto-revert-mode that automatically reloads modified files out of Emacs. It is very useful to see logs (like auto-revert-tail-mode) among many other cases.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-editing-utils.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/init-editing-utils.el b/lisp/init-editing-utils.el
index 91bd2bf..5f65ef7 100644
--- a/lisp/init-editing-utils.el
+++ b/lisp/init-editing-utils.el
@@ -9,6 +9,12 @@
;;(when (eval-when-compile (version< "24.4" emacs-version))
;; (electric-indent-mode 1))
+;; Active auto-revert-mode that automatically reloads modified files out of Emacs.
+;; It is very useful to see logs (like auto-revert-tail-mode) among many other cases.
+(global-auto-revert-mode)
+(setq global-auto-revert-non-file-buffers t
+ auto-revert-verbose nil)
+
;;----------------------------------------------------------------------------
;; Show matching parens
;;----------------------------------------------------------------------------