Commit ce9d1d3f authored by Stefan Kangas's avatar Stefan Kangas
Browse files

Support HTTPS in ido-file-internal

* lisp/ido.el (ido-file-internal): Support HTTPS.
parent aa79a5fc
Pipeline #26917 failed with stage
in 7 minutes and 29 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment