emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/org e6e1c08: org-contacts.el: Only use org-id-store


From: Stefan Monnier
Subject: Re: [elpa] externals/org e6e1c08: org-contacts.el: Only use org-id-store-link if org-id is loaded
Date: Mon, 04 Jan 2021 13:15:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> -    (if org-id-link-to-org-use-id
> +    (if (and (featurep 'org-id) org-id-link-to-org-use-id)

I think the canonical way to do that is to use (boundp
'org-id-link-to-org-use-id) instead of (featurep 'org-id),
or even use (bound-and-true-p org-id-link-to-org-use-id)


        Stefan




reply via email to

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