From ce9d1d3f4dddba2c948affd0f1ccf6c4059f0af2 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 25 Oct 2023 15:13:08 +0200 Subject: [PATCH] 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) -- 2.39.2