[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 47fc442965: Try to shut up persistent tramp error wit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 47fc442965: Try to shut up persistent tramp error with adb method |
Date: |
Fri, 28 Oct 2022 14:58:54 -0400 (EDT) |
branch: elpa/helm
commit 47fc44296564c3be8bc7353ecfc6e949b0f60e82
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Try to shut up persistent tramp error with adb method
when adding tilde to path.
---
helm-files.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index d9a11d3a5a..8def1fb2c9 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -2810,10 +2810,12 @@ when `helm-pattern' is equal to \"~/\"."
(let* ((history-p (string= (assoc-default 'name src)
"Read File Name History"))
(pat (helm-ff-set-pattern helm-pattern))
- (completed-p (string= (file-name-as-directory
- (expand-file-name
- (substitute-in-file-name pat)))
- helm-ff-default-directory))
+ (tramp-tolerate-tilde (equal (file-remote-p pat 'method)
+ tramp-adb-method))
+ (completed-p (helm-aand (expand-file-name
+ (substitute-in-file-name pat))
+ (string= (file-name-as-directory it)
+ helm-ff-default-directory)))
(candnum (helm-get-candidate-number))
(lt2-p (and (<= candnum 2)
(>= (string-width (helm-basename helm-pattern))
2)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/helm 47fc442965: Try to shut up persistent tramp error with adb method,
ELPA Syncer <=