From: Joseph Turner <joseph@breatheoutbreathe.in>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: [PATCH] Autoload org-link-set-parameters
Date: Sat, 25 Jan 2025 23:22:41 -0800 [thread overview]
Message-ID: <87wmeiox8e.fsf@breatheoutbreathe.in> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-ol-Autoload-org-link-set-parameters.patch --]
[-- Type: text/x-diff, Size: 811 bytes --]
From f395c9222f900dfe6b257c0d5846b6601102dd3e Mon Sep 17 00:00:00 2001
From: Joseph Turner <joseph@breatheoutbreathe.in>
Date: Sat, 25 Jan 2025 23:19:48 -0800
Subject: [PATCH] ol: Autoload org-link-set-parameters
This change allows other packages to autoload their own link handlers.
See this mu4e issue:
https://github.com/djcb/mu/pull/2798
---
lisp/ol.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/ol.el b/lisp/ol.el
index 43fac7433..1d160ca6e 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -1230,6 +1230,7 @@ (defun org-link-get-parameter (type key)
(plist-get (cdr (assoc type org-link-parameters))
key))
+;;;###autoload
(defun org-link-set-parameters (type &rest parameters)
"Set link TYPE properties to PARAMETERS.
PARAMETERS should be keyword value pairs. See
--
2.46.0
[-- Attachment #2: Type: text/plain, Size: 20 bytes --]
Thank you!
Joseph
reply other threads:[~2025-01-26 7:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmeiox8e.fsf@breatheoutbreathe.in \
--to=joseph@breatheoutbreathe.in \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).