[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico c08bb92: Use more restricted regexp to detect r
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/vertico c08bb92: Use more restricted regexp to detect remote completion |
Date: |
Sun, 23 May 2021 13:29:14 -0400 (EDT) |
branch: externals/vertico
commit c08bb928f27008aa4ce0e07e79d455903e762da1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use more restricted regexp to detect remote completion
---
vertico.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vertico.el b/vertico.el
index 997a8fc..866f858 100644
--- a/vertico.el
+++ b/vertico.el
@@ -316,7 +316,7 @@
;; If Tramp is used, do not compute the candidates in an interruptible
fashion,
;; since this will break the Tramp password and user name prompts (See
#23).
(if (and (eq 'file (completion-metadata-get metadata 'category))
- (string-match-p "\\`/[^:]+:" (substitute-in-file-name content)))
+ (string-match-p "\\`/[^/|:]+:" (substitute-in-file-name
content)))
(vertico--recompute-candidates pt content bounds metadata)
;; bug#38024: Icomplete uses `while-no-input-ignore-events' to
repair updating issues
(let ((while-no-input-ignore-events '(selection-request))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico c08bb92: Use more restricted regexp to detect remote completion,
Protesilaos Stavrou <=