projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64aa01f
)
Prefer HTTPS to HTTP in ffap
author
Stefan Kangas
<stefankangas@gmail.com>
Tue, 24 Oct 2023 20:40:12 +0000
(22:40 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Tue, 24 Oct 2023 20:40:12 +0000
(22:40 +0200)
* lisp/ffap.el (ffap-fixup-machine): Prefer HTTPS to HTTP for things
looking like URIs (for example www.example.org).
lisp/ffap.el
patch
|
blob
|
history
diff --git
a/lisp/ffap.el
b/lisp/ffap.el
index 6f477dd790bf71e7f5cb678f9a9f165cf6b5e74c..942e218bf239204b5374065ff667ea7a41496631 100644
(file)
--- a/
lisp/ffap.el
+++ b/
lisp/ffap.el
@@
-554,7
+554,7
@@
Looks at `ffap-ftp-default-user', returns \"\" for \"localhost\"."
(concat "gopher://" mach "/"))
;; www.ncsa.uiuc.edu
((and (string-match "\\`w\\(ww\\|eb\\)[-.]" mach))
- (concat "http://" mach "/"))
+ (concat "http
s
://" mach "/"))
;; More cases?
(ffap-ftp-regexp (ffap-host-to-filename mach))
))