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

    Use message instead of user-error
    
    user-error fails at init, so fail safe when user have
    (helm-ff-icon-mode 1) in init file.
---
 helm-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index b485ebe7c6..69e74c3983 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4289,7 +4289,7 @@ Arg DISP is the display part of the candidate."
   (when helm-ff-icon-mode
     (unless (require 'all-the-icons nil t)
       (setq helm-ff-icon-mode nil)
-      (user-error "All The Icons package is not installed")))
+      (message "All The Icons package is not installed")))
   (clrhash helm-ff--list-directory-cache))
 
 (defun helm-find-files-action-transformer (actions candidate)

Reply via email to