From 26a7012936965a1b7a6a1d54fc6ef13057d5c0be Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 23 Dec 2015 03:39:10 -0500 Subject: [PATCH] ui: visible powerline-hud in all windows + fix text-scale-mode unbound error --- core/core-ui.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index 6c939120d..9de2374c3 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -234,7 +234,7 @@ :config (setq-default powerline-default-separator nil - powerline-height 15 + powerline-height 19 spaceline-highlight-face-func 'spaceline-highlight-face-evil-state) (defface mode-line-is-modified nil "Face for mode-line modified symbol") @@ -389,7 +389,7 @@ iedit." (spaceline-define-segment *major-mode (powerline-raw (concat - (and (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount)) + (and (featurep 'face-remap) (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount)) mode-name mode-line-process )) @@ -469,8 +469,7 @@ Supports both Emacs and Evil cursor conventions." (spaceline-define-segment *hud "A HUD that shows which part of the buffer is currently visible." - (powerline-hud highlight-face other-face 1) - :face other-face + (powerline-hud 'spaceline-highlight-face other-face 1) :tight-right t)) ;; Initialize modeline