From 239722fb7b3dc50cbc0cc7a2ba51b4371f94809c Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 23 Feb 2015 22:52:05 -0500 Subject: [PATCH] Fix micro-state face override from ido that could persist in helm --- spacemacs/packages.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index a8de29f60..c54a31ea2 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -1182,6 +1182,13 @@ which require an initialization must be listed explicitly in the list.") "fr" 'helm-recentf "" 'helm-apropos) + (defun spacemacs//helm-before-initialize () + "Stuff to do before helm initializes." + ;; be sure that any previous micro-state face override are + ;; wiped out + (setq face-remapping-alist nil)) + (add-hook 'helm-before-initialize-hook 'spacemacs//helm-before-initialize) + (defface spacemacs-helm-navigation-ms-face `((t :background ,(face-attribute 'error :foreground) :foreground "black")) "Face for helm heder when helm micro-state is activated."