[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 643c67cf239: Prefer HTTPS to HTTP in ffap
From: |
Stefan Kangas |
Subject: |
master 643c67cf239: Prefer HTTPS to HTTP in ffap |
Date: |
Tue, 24 Oct 2023 16:40:35 -0400 (EDT) |
branch: master
commit 643c67cf239cbb9621b3c2aaadd58697d87996f5
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
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).
---
lisp/ffap.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 6f477dd790b..942e218bf23 100644
--- 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 "https://" mach "/"))
;; More cases?
(ffap-ftp-regexp (ffap-host-to-filename mach))
))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 643c67cf239: Prefer HTTPS to HTTP in ffap,
Stefan Kangas <=