* [oc] use-package config question
@ 2021-07-10 19:30 Bruce D'Arcus
2021-07-17 13:16 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Bruce D'Arcus @ 2021-07-10 19:30 UTC (permalink / raw)
To: org-mode-email
As I'm trying to put together a PR for the doom module for adding
org-cite support [1], I'm realizing I really don't understand
use-package very well.
Could someone with some expertise in this area recommend how I do the following?
Load org-cite and it's associated packages (oc-basic, oc-natbib,
etc.), and set some associated variables, if org-cite is available.
Bruce
[1] https://github.com/hlissner/doom-emacs/pull/5212
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [oc] use-package config question
2021-07-10 19:30 [oc] use-package config question Bruce D'Arcus
@ 2021-07-17 13:16 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2021-07-17 13:16 UTC (permalink / raw)
To: Bruce D'Arcus; +Cc: org-mode-email
"Bruce D'Arcus" <bdarcus@gmail.com> writes:
> Could someone with some expertise in this area recommend how I do the following?
>
> Load org-cite and it's associated packages (oc-basic, oc-natbib,
> etc.), and set some associated variables, if org-cite is available.
It should be default behaviour:
(use-package oc
;; The code inside will be executed only and only if the `oc' feature is
;; available.
;; To be 100% sure you can use
;; :ensure nil
...
)
See https://github.com/jwiegley/use-package#package-installation for
more details.
Best,
Ihor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-17 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-10 19:30 [oc] use-package config question Bruce D'Arcus
2021-07-17 13:16 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.