From 754dd756245d8c57bc5ee802ebff9d22ccc783fc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 19 May 2019 01:52:52 -0400 Subject: [PATCH] Update highlight-indent-guides faces on focus-in The faces may go out of sync if you spawn a tty frame via the server. Updating it when you switch frames is a workaround for this. --- modules/ui/indent-guides/config.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ui/indent-guides/config.el b/modules/ui/indent-guides/config.el index f7f1c240e..6239c69ae 100644 --- a/modules/ui/indent-guides/config.el +++ b/modules/ui/indent-guides/config.el @@ -5,8 +5,7 @@ :init (setq highlight-indent-guides-method 'character) :config - (when (daemonp) - (highlight-indent-guides-auto-set-faces)) + (add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces) ;; Don't display first level of indentation (defun +indent-guides-for-all-but-first-column (level responsive display)