From 339e44b08b73ed083c15311d230db5f4d98abc8a Mon Sep 17 00:00:00 2001 From: Eric S Fraga Date: Mon, 3 May 2021 13:37:58 +0100 Subject: [PATCH] org-manual.org: describe external reference for :var header * org-manual.org: the description of the :var header argument for working with source code has been expanded to mention the possibility of having an external reference, a reference to an element in another file. --- doc/org-manual.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 42a12e9d4..3008d5a48 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -16797,7 +16797,11 @@ the =var= header argument. body. {{{var(ASSIGN)}}} is a literal value, such as a string, a number, a reference to a table, a list, a literal example, another code block---with or without arguments---or the results of evaluating -a code block. +a code block. {{{var(ASSIGN)}}} may specify a filename for references +to elements in a different file, using a =:= to separate the filename +from the reference. + +: :var NAME=FILE:REFERENCE Here are examples of passing values by reference: -- 2.29.2