From ceff2ca8f113eb9bc3bf9d208ac238bbf2777b52 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 16 Feb 2022 23:11:16 -0600 Subject: Add tel: and mailto: link types --- lisp/+org.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lisp') diff --git a/lisp/+org.el b/lisp/+org.el index be5a37f..6413a73 100644 --- a/lisp/+org.el +++ b/lisp/+org.el @@ -6,8 +6,7 @@ (require 'org-element) (require 'ox) -;;; org-return-dwim - https://github.com/alphapapa/unpackaged.el -;; http://kitchingroup.cheme.cmu.edu/blog/2017/04/09/A-better-return-in-org-mode/ +;;; org-return-dwim - [[https://github.com/alphapapa/unpackaged.el][unpackaged]] and [[http://kitchingroup.cheme.cmu.edu/blog/2017/04/09/A-better-return-in-org-mode/][kitchin]] (defun +org-element-descendant-of (type element) "Return non-nil if ELEMENT is a descendant of TYPE. @@ -273,7 +272,9 @@ Return as a list." (rx (sequence bos (or "http" "gemini" - "gopher"))) + "gopher" + "tel" + "mailto"))) (current-kill 0)) (current-kill 0))) (region-content (when (region-active-p) -- cgit 1.4.1-21-gabe81