summaryrefslogtreecommitdiff
path: root/helm-files.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-06-26 07:01:05 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-06-26 07:01:05 +0200
commitcd3ce36233cb4ba75262a7ee6bc4c967c48e7299 (patch)
treeb5389a4bfad9489ca1892e2265e79737e44c8770 /helm-files.el
parent1efefcf00eb74f080eded94c379e48d4df25d3a5 (diff)
Remove unused lex var url-p
* helm-files.el (helm-ff-filter-candidate-one-by-one): Do it.
Diffstat (limited to 'helm-files.el')
-rw-r--r--helm-files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-files.el b/helm-files.el
index 2f15c80a..a7685ca7 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -2801,7 +2801,7 @@ Return candidates prefixed with basename of `helm-input' first."
"`filter-one-by-one' Transformer function for `helm-source-find-files'."
;; Handle boring files
(let ((basename (helm-basename file))
- dot url-p)
+ dot)
(unless (and helm-ff-skip-boring-files
(helm-ff-boring-file-p basename))
@@ -2838,7 +2838,7 @@ Return candidates prefixed with basename of `helm-input' first."
(let* ((disp (if (and helm-ff-transformer-show-only-basename
(not (setq dot (helm-dir-is-dot file)))
(not (and helm--url-regexp
- (setq url-p (string-match helm--url-regexp file))))
+ (string-match helm--url-regexp file)))
(not (string-match helm-ff-url-regexp file)))
(or (helm-ff--get-host-from-tramp-invalid-fname file)
basename)