emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org f5c5e0d912 1/2: orgtbl-to-generic: Honor `org-expor


From: ELPA Syncer
Subject: [elpa] externals/org f5c5e0d912 1/2: orgtbl-to-generic: Honor `org-export-filter-parse-tree-functions'
Date: Sat, 13 Jul 2024 09:58:43 -0400 (EDT)

branch: externals/org
commit f5c5e0d912ebc1e161e1e44d3b4b944db4e3b458
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    orgtbl-to-generic: Honor `org-export-filter-parse-tree-functions'
    
    * lisp/org-table.el (orgtbl-to-generic): Before e0924db3c,
    `orgtbl-to-generic' did honor the filter functions for AST
    specifically (but no other).  Keep it so.
---
 lisp/org-table.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/org-table.el b/lisp/org-table.el
index c83b6b95c0..9658e58fa6 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -5840,6 +5840,8 @@ This may be either a string or a function of two 
arguments:
       ;; We disable the usual pre-processing and post-processing,
       ;; i.e., hooks, Babel code evaluation, and macro expansion.
       ;; Only backend specific filters are retained.
+      ;; We _do not_ disable `org-export-filter-parse-tree-functions'
+      ;; (historically).
       (let ((org-export-before-processing-functions nil)
             (org-export-replace-macros nil)
             (org-export-use-babel nil)
@@ -5847,7 +5849,9 @@ This may be either a string or a function of two 
arguments:
             (org-export-process-citations nil)
             (org-export-expand-links nil)
             (org-export-filter-parse-tree-functions
-             '(orgtbl--skip orgtbl--skipcols))
+             (append
+              '(orgtbl--skip orgtbl--skipcols)
+              org-export-filter-parse-tree-functions))
             (org-export-filters-alist
              '((:filter-parse-tree . org-export-filter-parse-tree-functions))))
         (when (or (not backend) (plist-get params :raw)) (require 'ox-org))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]