[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] `org-macro--collect-macros' can collect macro definition
Re: [O] [PATCH] `org-macro--collect-macros' can collect macro definitions from include files
Wed, 05 Feb 2014 17:27:38 +0100
Bastien <address@hidden> writes:
> "Fabrice Niessen" <fni-news-TA4HMoP+1wHrZ44/address@hidden>
>> As the DOCSTRING of the function `org-macro--collect-macros' tells it,
>> it "collects macro definitions in current buffer and setup files", not
>> from INCLUDE files.
> Then your patch should change the docstring too.
> I think we want to collect macros from setupfile only,
> that's one of the differences between INCLUDE and SETUPFILE.
Not all "Include" files are Org files. Moreover, "INCLUDE" keywords are
expanded before initializing macro templates during export, so "MACRO"
keywords should be read when appropriate.