summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org7
1 files changed, 5 insertions, 2 deletions
diff --git a/init.org b/init.org
index b95a59e..e0e8438 100644
--- a/init.org
+++ b/init.org
@@ -1548,10 +1548,13 @@
("^https?://.*\\.gotomeeting\\.com\\.*" . browse-url-chrome)
("^https?://meet\\.google\\.com\\.*" . ,jao-browse-url-external-function)
(,(jao-wget--regexp) . jao-download)
- (jao-video--url-p . jao-maybe-view-video)
+ (,jao-video--url-rx . jao-maybe-view-video)
("." . ,jao-browse-url-function)))
- (setq browse-url-browser-function 'browse-url-default-browser)
+ (setq browse-url-browser-function
+ (if (> emacs-major-version 27)
+ 'browse-url-default-browser
+ browse-url-handlers))
#+END_SRC
*** Subscribe rss using r2e