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: lehi
Subject: Re: Org Publish HTML and PDF With GPG Files
Date: Tue, 06 Sep 2022 00:44:07 +0000

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
> 
> --
> David Masterson

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"



reply via email to

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