[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ce9d1d3f4dd 2/2: Support HTTPS in ido-file-internal
From: |
Stefan Kangas |
Subject: |
master ce9d1d3f4dd 2/2: Support HTTPS in ido-file-internal |
Date: |
Wed, 25 Oct 2023 10:28:05 -0400 (EDT) |
branch: master
commit ce9d1d3f4dddba2c948affd0f1ccf6c4059f0af2
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Support HTTPS in ido-file-internal
* lisp/ido.el (ido-file-internal): Support HTTPS.
---
lisp/ido.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ido.el b/lisp/ido.el
index bbb3264f4f7..2daf3bae717 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2326,7 +2326,7 @@ If cursor is not at the end of the user input, move to
end of input."
(if (eq ido-use-filename-at-point 'guess)
(ffap-guesser)
(ffap-string-at-point))))
- (not (string-match "\\`http:/" fn)))
+ (not (string-match (rx bos "http" (? "s") ":/") fn)))
(let ((absolute-fn (expand-file-name fn)))
(cond
((file-directory-p absolute-fn)