From 7babc8284685aa34104a39066345d19a3925d223 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 30 Dec 2016 12:51:01 -0800 Subject: [PATCH] [Emacs] Require highlight-indent-guides before tweaking its faces --- dotfiles/emacs.d/README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index bc131362..e4586c9b 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1672,7 +1672,9 @@ https://github.com/alpaker/Fill-Column-Indicator/issues/21 for more details ;; the time of load-theme (defun imalison:set-highlight-indent-guides-faces-load-theme (&rest args) (if (face-background 'default) - (imalison:set-highlight-indent-guides-faces) + (progn + (require 'highlight-indent-guides) + (imalison:set-highlight-indent-guides-faces)) (run-at-time "1 sec" nil 'imalison:set-highlight-indent-guides-faces-load-theme))) (advice-add 'load-theme