[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm d1493b4341: Disable follow-mode message in PA
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm d1493b4341: Disable follow-mode message in PA |
Date: |
Tue, 6 Sep 2022 13:58:45 -0400 (EDT) |
branch: elpa/helm
commit d1493b434176dc03d136567a995329a022672698
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Disable follow-mode message in PA
and use user-error.
---
helm-files.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index a68bb88fe8..f5e86929c7 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4546,11 +4546,11 @@ file."
(helm-set-attr 'candidate-number-limit helm-ff-candidate-number-limit)
(unless (helm-ff--maybe-follow candidate)
(when follow
- (helm-follow-mode -1)
+ (helm-follow-mode -1) (message nil)
(cl-return-from helm-find-files-persistent-action-if
(prog1
#'ignore
- (message "Helm-follow-mode allowed only on images,
disabling")))))
+ (user-error "Can't follow this kind of file")))))
(cond (;; Tramp methods completion.
(string-match helm-ff-tramp-method-regexp candidate)
(let ((method (match-string 1 candidate)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/helm d1493b4341: Disable follow-mode message in PA,
ELPA Syncer <=