branch: externals/org
commit 3e23682d37cca8124297167d55a3d4e7ce89d7a6
Author: TEC <g...@tecosaur.net>
Commit: TEC <g...@tecosaur.net>

    ox: Fix non-renamed variable (f to file)
    
    * lisp/ox.el (org-export-expand-include-keyword): In 2fecd96200c8 "f"
    was renamed to "file", but one usage was missed, which is corrected
    here.
---
 lisp/ox.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index ebf89bbc3d..fd6428c32c 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -3336,7 +3336,7 @@ not have `buffer-file-name' assigned."
                ;; inclusion lines too, as different parts of the same
                ;; file can be included too.
                ((member (list file (plist-get parameters :lines)) included)
-                (error "Recursive file inclusion: %s" f))
+                (error "Recursive file inclusion: %s" file))
                (t
                 (org-export--blindly-expand-include
                  parameters

Reply via email to