[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [BUG] Dynamic scoping of project-plist in preparation-function
From: |
Arun Isaac |
Subject: |
[O] [BUG] Dynamic scoping of project-plist in preparation-function |
Date: |
Tue, 21 Jun 2016 23:46:59 +0530 |
User-agent: |
mu4e 0.9.17; emacs 24.5.1 |
The org mode manual says "The project property list is scoped into this
call as the variable project-plist". But, ox-publish.el has lexical
binding enabled, and the variable project-plist doesn't seem to be
accessible from the executed preparation-function. When I try to access
the variable, I get a (void-variable project-plist) error.
Please find attached a minimal elisp file to reproduce the bug.
emacs -Q -l preparation-function-dynamic-scoping.el
My understanding of dynamic and lexical binding is a little foggy. So,
do let me know if I'm missing something.
Regards,
Arun Isaac.
preparation-function-dynamic-scoping.el
Description: application/emacs-lisp
signature.asc
Description: PGP signature
- [O] [BUG] Dynamic scoping of project-plist in preparation-function,
Arun Isaac <=