emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support f


From: Ihor Radchenko
Subject: Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)
Date: Mon, 20 May 2024 10:41:51 +0000

Jim Porter <jporterbugs@gmail.com> writes:

>> Ihor, I'll update the Org-mode part of this next and post the new patch 
>> for that to the Org list once it's ready.
>
> ... and here's the Org-mode patch for this.

Thanks!

> +  (when (boundp 'forward-thing-provider-alist)
> +    (setq-local forward-thing-provider-alist
> +                (cons '(url . org-next-link)
> +                      forward-thing-provider-alist)))

According to the docstring, functions in `forward-thing-provider-alist'
should accept a single argument - the number of "things" to skip
forward/backward. But it is not what `org-next-link' expects.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]