From ddac0d5a849989cac2cd16964359c6ead730c51b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 19 Sep 2016 12:58:38 +0200 Subject: Fix diminishing auto-revert-mode --- emacs/.emacs.d/init.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index b3408e5..0efba1c 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -491,9 +491,10 @@ To start off, first I need to enable lexical binding. ARev isn't very descriptive, and fairly wide. Use a font-awesome icon instead. #+BEGIN_SRC emacs-lisp - (diminish 'auto-revert-mode - (propertize (concat " " (char-to-string #xf021)) - 'face '(:family "Font Awesome" :height 0.75))) + (with-eval-after-load 'autorevert + (diminish 'auto-revert-mode + (propertize (concat " " (char-to-string #xf021)) + 'face '(:family "Font Awesome" :height 0.75)))) #+END_SRC ** Auto fill mode -- cgit v1.2.3-54-g00ecf