emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Org Publish HTML and PDF With GPG Files


From: David Masterson
Subject: Re: Org Publish HTML and PDF With GPG Files
Date: Mon, 05 Sep 2022 21:08:13 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

lehi@tosk.in writes:

> Ihor Radchenko yantar92@gmail.com writes:
>> 
>> > David Masterson dsmasterson@gmail.com writes:
>> > 
>> > > Does org-publish have options for files with org-crypt entries?
>> > 
>> > We do not have an explicit option, but you can add org-decrypt-entries
>> > to your org-export-before-processing-hook.
>> 
>> Thanks

> Is there a specific way of setting this in the config?
> I tried adding `(add-hook 'org-export-before-processing-hook
> #'org-decrypt-entries)` to my init.el, but publishing fails with the
> error "run-hook-with-args: Wrong number of arguments: (0 . 0), 1"

Been awhile -- what's the purpose of the '#' character?

-- 
David Masterson



reply via email to

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