[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 60bf6288cf4: Respect `browse-url-default-scheme` on Android
From: |
Stefan Kangas |
Subject: |
master 60bf6288cf4: Respect `browse-url-default-scheme` on Android |
Date: |
Tue, 31 Oct 2023 20:40:23 -0400 (EDT) |
branch: master
commit 60bf6288cf44fe84332141f90baa70a83733552d
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Respect `browse-url-default-scheme` on Android
* lisp/net/browse-url.el (browse-url-default-android-browser):
Respect 'browse-url-default-scheme'.
---
lisp/net/browse-url.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index dfb2243988d..74740af3bd6 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -1337,7 +1337,7 @@ point."
(setq url (browse-url-encode-url url)))
;; Make sure the URL starts with an appropriate scheme.
(unless (string-match "\\(.+\\):/" url)
- (setq url (concat "http://" url)))
+ (setq url (concat browse-url-default-scheme "://" url)))
(android-browse-url url browse-url-android-share))
(function-put 'browse-url-default-android-browser
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 60bf6288cf4: Respect `browse-url-default-scheme` on Android,
Stefan Kangas <=