emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm 120857ec20 3/3: Use message instead of user-error


From: ELPA Syncer
Subject: [nongnu] elpa/helm 120857ec20 3/3: Use message instead of user-error
Date: Tue, 4 Jul 2023 03:59:58 -0400 (EDT)

branch: elpa/helm
commit 120857ec2008c298b64587d59350d6297601daa2
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@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

[Prev in Thread] Current Thread [Next in Thread]