Hi

if you use symbols, the :safe predicate should be #'symbolp

Best, /PA

On Sun, 14 Dec 2025 at 20:46, Ihor Radchenko <[email protected]> wrote:

> Thomas Ingram <[email protected]> writes:
>
> > Quick correction, I've added the :safe declaration recommended by Pedro.
> > I was not aware of that customization feature.
>
> Thanks!
>
> > +(defcustom org-cite-bibtex-bibliography-style 'plain
> > +  "Default BibTeX bibliography style."
>
> It would be nice to expand about possible values in the docstring.
>
> > +  :group 'org-cite
> > +  :package-version '(Org . "9.8")
> > +  :type
> > +  '(choice
> > +    (const plain)
> > +    (const unsrt)
> > +    (const alpha)
> > +    (const abbrv)
> > +    (symbol :tag "Other"))
>
> You can also add :tag to other values briefly describing what they do.
>
> > +  :safe #'stringp)
>
> Yet, the default value is a symbol, which is confusing.
>
> Also, please document the new customization in etc/ORG-NEWS and possibly
> in the manual.
>
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> 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>
>
>

-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

"Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
Year 1 of the New Koprocracy

Reply via email to