aboutsummaryrefslogtreecommitdiffstats
path: root/testing/examples/setupfile.org (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix SETUPFILE pathname expansion with subdirectoriesRichard Hansen2015-09-241-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org-macro.el (org-macro--collect-macros): cd to the directory containing the SETUPFILE before recursing so that relative pathnames in the SETUPFILE are expanded properly. * lisp/org.el (org--setup-collect-keywords): cd to the directory containing the SETUPFILE before recursing so that relative pathnames in the SETUPFILE are expanded properly. * lisp/ox.el (org-export--get-inbuffer-options, org-export--list-bound-variables): cd to the directory containing the SETUPFILE before recursing so that relative pathnames in the SETUPFILE are expanded properly. If /path/to/foo.org contains: #+SETUPFILE: settings/beamer.org and /path/to/settings/beamer.org contains: #+SETUPFILE: common.org then we want to read /path/to/settings/common.org, not /path/to/common.org. TINYCHANGE
* Add test for setup keywords initializationNicolas Goaziou2014-10-281-0/+1
| | | | | | * testing/lisp/test-org.el (test-org/set-regexps-and-options): New test. * testing/examples/setupfile.org: Add a keyword for testing.
* ox: Handle BIND keywords in SETUPFILE filesNicolas Goaziou2013-03-291-0/+1
| | | | | | | | * lisp/ox.el (org-export-get-environment): Update comment. (org-export--install-letbind-maybe): Go into SETUPFILE files and handle BIND keywords there. * testing/examples/setupfile.org: Update test file. * testing/lisp/test-ox.el: Add tests.
* ox: Fix bug where properties read from setupfile overwrite previous propertiesNicolas Goaziou2013-02-261-0/+4
* lisp/ox.el (org-export--get-inbuffer-options): Remove an optional argument. Rewrite function. Properties read from a setupfile do not overwrite anymore previously computed properties. (org-export-get-environment): Apply changes to previous function. * lisp/org.el (org-create-formula--latex-header): Apply arity change from `org-export--get-inbuffer-options'. * testing/lisp/test-ox.el: Add test. * testing/examples/setupfile.org: New file.