projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa79a5f
)
Support HTTPS in ido-file-internal
author
Stefan Kangas
<stefankangas@gmail.com>
Wed, 25 Oct 2023 13:13:08 +0000
(15:13 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Wed, 25 Oct 2023 14:27:08 +0000
(16:27 +0200)
* lisp/ido.el (ido-file-internal): Support HTTPS.
lisp/ido.el
patch
|
blob
|
history
diff --git
a/lisp/ido.el
b/lisp/ido.el
index bbb3264f4f77f11b3c6a79cb04b32dbfd91a2e61..2daf3bae7174b910248fca19916cc4ceb4af7556 100644
(file)
--- 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)