Suhail Singh <suhailsingh...@gmail.com> writes: >> You can, of course, write that function; but then you might as well >> use org-link-abbrev-alist instead of defining a local #+LINK. > > Perhaps I misunderstood, I thought the thing being polled was whether or > not to allow org-link-abbrev-alist to have REPLACE (per its docstring) > be a function. I.e., if %(my-function) is removed, so too would the > ability to have a function in the REPLACE position in > org-link-abbrev-alist. Did I misunderstand?
Yup. I only meant %(...) placeholder constructs. ("linkkey" . REPLACE) where REPLACE is a function symbol will still be allowed. What will not be allowed is: #+LINK: linkkey %(my-function) and ("linkkey" . "...%(my-function)...") in `org-link-abbrev-alist'. -- 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>