emacs-orgmode
[Top][All Lists]
Advanced

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

local variables and export processing in hooks


From: Eric S Fraga
Subject: local variables and export processing in hooks
Date: Tue, 09 Feb 2021 10:13:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dear org mode users,

I have a small elisp function that I use to process my org file before
export to LaTeX or HTML, adding this function to
org-export-before-parsing-hook.  Briefly, the function exports the TBLFM
lines so that the org table calculations can be inspected.  This is for
pedagogical use.

This works just fine.  However, I don't want to do this generally so I
have a variable that controls whether the processing happens or not.  Is
there some way to make this variable local to an org file for use in the
export?  I have tried combinations of setq-local and #+BIND: but have
not yet managed to get this work successfully.

Thank you,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-213-g49364f



reply via email to

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