all repos — archive/dotfiles @ 388f6e97e15fcb54bf367e91176dd4be00552a20

Superseded by nixfiles

Emacs: Configure spaceline for normal Emacs
Alan Pearce alan@alanpearce.eu
Wed, 17 Oct 2018 22:26:11 +0200
commit

388f6e97e15fcb54bf367e91176dd4be00552a20

parent

98ecc4539aa1fbb7cd82401701c3ea82bc56ef79

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -251,8 +251,12 @@ spaceline-responsive nil)             (define-hook-helper after-setting-font ()
               :name resize-powerline
               (setq powerline-height (* 2  (ceiling (* (default-font-height) (+ 1 (* 2 line-spacing))) 2)))
+              (if (not (daemonp))
+                  (setq mode-line-format (spaceline-spacemacs-theme)))
               (setq-default mode-line-format (spaceline-spacemacs-theme)))
             (setq spaceline-highlight-face-func #'spaceline-highlight-face-evil-state)
+            (if (not (daemonp))
+                (setq mode-line-format (spaceline-spacemacs-theme)))
             (setq-default mode-line-format (spaceline-spacemacs-theme))))
 
 ;;;;; Chrome