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

    Fix #2727 with helm-x-icons
    
    Fix the :set function of helm-x-icons-provider.
    The value should be set to nil when the backend is not provided yet.
---
 helm-x-icons.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-x-icons.el b/helm-x-icons.el
index 708ec21eba..6e129e5859 100644
--- a/helm-x-icons.el
+++ b/helm-x-icons.el
@@ -31,7 +31,7 @@ Do not use setq to set this variable but customize."
           (const :tag "Use `all-the-icons' package" all-the-icons)
           (const :tag "Use `nerd-icons' package" nerd-icons))
   :set (lambda (var val)
-         (when val (require val nil t))
+         (when val (setq val (require val nil t)))
          (set var val)))
 
 (defun helm-x-icons-match-to-alist (file type)

Reply via email to