emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* local variables and export processing in hooks
@ 2021-02-09 10:13 Eric S Fraga
  2021-02-09 11:30 ` tomas
  0 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2021-02-09 10:13 UTC (permalink / raw)
  To: Emacs Org mode mailing list

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-02-12  7:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-09 10:13 local variables and export processing in hooks Eric S Fraga
2021-02-09 11:30 ` tomas
2021-02-09 12:06   ` Eric S Fraga
2021-02-09 13:21     ` Sébastien Miquel
2021-02-10  8:48       ` Eric S Fraga
2021-02-10 20:56       ` M. ‘quintus’ Gülker
2021-02-11 20:12         ` Sébastien Miquel
2021-02-12  7:28           ` M. ‘quintus’ Gülker
2021-02-10 15:43     ` Maxim Nikulin
2021-02-11  8:50       ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).