[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 506989bed5 07/14: ox: Improve #+include parsing doc
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 506989bed5 07/14: ox: Improve #+include parsing docstring |
Date: |
Sun, 22 Jan 2023 10:58:11 -0500 (EST) |
branch: externals/org
commit 506989bed58122bc8994051d8e1c0b8947408c14
Author: TEC <git@tecosaur.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
ox: Improve #+include parsing docstring
* lisp/ox.el (org-export-parse-include-value): Actually describe the
parsing behaviour of the function in the docstring.
---
lisp/ox.el | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/lisp/ox.el b/lisp/ox.el
index 3ff7799b40..759bd7875d 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -3353,7 +3353,21 @@ not have `buffer-file-name' assigned."
footnotes))))))))))))
(defun org-export-parse-include-value (value &optional dir)
- "Extract the various parameters from #+include: VALUE."
+ "Extract the various parameters from #+include: VALUE.
+
+More specifically, this extracts the following parameters to a
+plist: :file, :coding-system, :location, :only-contents, :lines,
+:env, :minlevel, :args, and :block.
+
+The :file parameter is expanded relative to DIR.
+
+The :file, :block, and :args parameters are extracted
+positionally, while the remaining parameters are extracted as
+plist-style keywords.
+
+Any remaining unmatched content is passed through
+`org-babel-parse-header-arguments' (without evaluation) and
+provided as the :unmatched parameter."
(let* ((ind (org-current-text-indentation))
location
(coding-system
- [elpa] externals/org ddca762329 01/14: org-element--cache-verify-element: Format all the elements in warning, (continued)
- [elpa] externals/org ddca762329 01/14: org-element--cache-verify-element: Format all the elements in warning, ELPA Syncer, 2023/01/22
- [elpa] externals/org 0af74d33a7 03/14: org-manual: Fix typos in print_bibliography kwd, ELPA Syncer, 2023/01/22
- [elpa] externals/org ffd832d5d6 06/14: org-manual: Update #+include block parsing, ELPA Syncer, 2023/01/22
- [elpa] externals/org e9c0696f79 08/14: org-persist: Inhibit fsync when writing cachefiles, ELPA Syncer, 2023/01/22
- [elpa] externals/org 4b546e04af 02/14: org-element--cache-submit-request: Ensure correct cache synchronization, ELPA Syncer, 2023/01/22
- [elpa] externals/org 7e649050c7 05/14: ox: Pass through unparsed #+include content, ELPA Syncer, 2023/01/22
- [elpa] externals/org c8f88589cb 09/14: org-persist: Set utf-8 coding when reading/writing, ELPA Syncer, 2023/01/22
- [elpa] externals/org b29f772416 10/14: org-macs: Split org-compile-file into two funs, ELPA Syncer, 2023/01/22
- [elpa] externals/org f0dfbf0c39 14/14: ox-latex: Erase compile buffer at the start, ELPA Syncer, 2023/01/22
- [elpa] externals/org 5cde90e3c8 04/14: ox: Refactor org-export-expand-include-keyword, ELPA Syncer, 2023/01/22
- [elpa] externals/org 506989bed5 07/14: ox: Improve #+include parsing docstring,
ELPA Syncer <=
- [elpa] externals/org b84018633e 13/14: ox-latex: Split org-latex-compile into two funs, ELPA Syncer, 2023/01/22
- [elpa] externals/org d0c87c762a 11/14: ox-latex: Do not hardcode fallback compiler, ELPA Syncer, 2023/01/22
- [elpa] externals/org 18d2f871c2 12/14: org: Split org-format-latex into two functions, ELPA Syncer, 2023/01/22