branch: elpa/helm
commit f1ab92a1afa927b4252e85838b7148e2f4813735
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Reinit list-faces-display at each call of helm-color
---
 helm-color.el | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/helm-color.el b/helm-color.el
index 8a0b6e898b..de50547244 100644
--- a/helm-color.el
+++ b/helm-color.el
@@ -28,17 +28,16 @@
 ;;
 (defun helm-custom-faces-init ()
   "Initialize buffer for `helm-source-customize-face'."
-  (unless (helm-candidate-buffer)
-    (save-selected-window
-      (list-faces-display)
-      (message nil))
-    (helm-init-candidates-in-buffer
-        'global
-      (with-current-buffer (get-buffer "*Faces*")
-        (buffer-substring
-         (next-single-char-property-change (point-min) 'category)
-         (point-max))))
-    (kill-buffer "*Faces*")))
+  (save-selected-window
+    (list-faces-display)
+    (message nil))
+  (helm-init-candidates-in-buffer
+      'global
+    (with-current-buffer (get-buffer "*Faces*")
+      (buffer-substring
+       (next-single-char-property-change (point-min) 'category)
+       (point-max))))
+  (kill-buffer "*Faces*"))
 
 (defvar helm-source-customize-face
   (helm-build-in-buffer-source "Customize Face"

Reply via email to