mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Prefer HTTPS to HTTP in ffap
* lisp/ffap.el (ffap-fixup-machine): Prefer HTTPS to HTTP for things looking like URIs (for example www.example.org).
This commit is contained in:
parent
64aa01f60a
commit
643c67cf23
1 changed files with 1 additions and 1 deletions
|
|
@ -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 "https://" mach "/"))
|
||||
;; More cases?
|
||||
(ffap-ftp-regexp (ffap-host-to-filename mach))
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue