[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 081d667e50 1/2: Shutup byte compiler about tramp-tole
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 081d667e50 1/2: Shutup byte compiler about tramp-tolerate-tilde available only at Emacs-28.2 |
Date: |
Thu, 17 Nov 2022 23:59:12 -0500 (EST) |
branch: elpa/helm
commit 081d667e50da7c4fce11e7d2f4df9ed5f28be00b
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Shutup byte compiler about tramp-tolerate-tilde available only at Emacs-28.2
---
helm-files.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/helm-files.el b/helm-files.el
index 4b40b17e23..31ae42b29e 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -102,6 +102,7 @@
(defvar eshell-debug-command)
(defvar eshell-current-command)
(defvar tramp-archive-enabled)
+(defvar tramp-tolerate-tilde)
(defvar password-cache)
@@ -2812,6 +2813,8 @@ 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))
+ ;; Try to shut up persistent tramp error with adb method when
+ ;; adding tilde to path.
(tramp-tolerate-tilde (equal (file-remote-p pat 'method)
tramp-adb-method))
(completed-p (helm-aand (expand-file-name