Pedro Andres Aranda Gutierrez <[email protected]> writes: > I'm having a hard time to parse the docstring for (org-collect-keywords). > It mixes DIRECTORY and DIRECTORIES (where does that come from ???) and I'm > confused.
That's a typo and poor argument naming. DIRECTORY contains a list of keyword names where we need to consider directory of the file they are coming from. When a keyword is a member of DIRECTORY list, the returned value is not just keyword value, but (VALUE . DIRECTORY-THE-VALUE-IS-COMING-FROM) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
