[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] :safe predicate for org-link-abbrev-alist does not make sense
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] :safe predicate for org-link-abbrev-alist does not make sense |
Date: |
Wed, 08 Feb 2023 13:48:58 +0000 |
Qiantan Hong <qthong@stanford.edu> writes:
> The predicate is currently
> (lambda (val)
> (pcase val
> (`(,(pred stringp) . ,(pred stringp)) t)
> (_ nil)))
>
> This returns true for pairs like ("wiki" . "Blabla"), but such values are
> invalid.
> org-link-abbrev-alist need to be an ALIST. For any ALIST, the above predicate
> returns NIL.
Thanks for reporting!
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6cbbf4cdb
--
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>