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

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

[elpa] externals-release/org 70a311b001: ox-icalendar: Avoid processing


From: ELPA Syncer
Subject: [elpa] externals-release/org 70a311b001: ox-icalendar: Avoid processing ignored elements
Date: Thu, 11 Aug 2022 01:58:04 -0400 (EDT)

branch: externals-release/org
commit 70a311b001153afdf492b3dab5a0816c861e3186
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    ox-icalendar: Avoid processing ignored elements
    
    * lisp/ox-icalendar.el (icalendar): Use nil transcoders instead of
    `ignore' for ignored element types.  Otherwise, `org-export-data'
    still exports the ignored element contents, including resolving links,
    and the result is ignored.  The contents might contain broken links
    and hence lead to errors despite the whole element not supposed to be
    exported.
    
    Fixes 
https://orgmode.org/list/45aa417a-7eb1-1070-b0dd-17bdd7d1448f@mailbox.org
---
 lisp/ox-icalendar.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el
index 7e40f5bcd0..148e111fd4 100644
--- a/lisp/ox-icalendar.el
+++ b/lisp/ox-icalendar.el
@@ -276,14 +276,14 @@ re-read the iCalendar file.")
 ;;; Define Back-End
 
 (org-export-define-derived-backend 'icalendar 'ascii
-  :translate-alist '((clock . ignore)
-                    (footnote-definition . ignore)
-                    (footnote-reference . ignore)
+  :translate-alist '((clock . nil)
+                    (footnote-definition . nil)
+                    (footnote-reference . nil)
                     (headline . org-icalendar-entry)
                      (inner-template . org-icalendar-inner-template)
-                    (inlinetask . ignore)
-                    (planning . ignore)
-                    (section . ignore)
+                    (inlinetask . nil)
+                    (planning . nil)
+                    (section . nil)
                     (template . org-icalendar-template))
   :options-alist
   '((:exclude-tags



reply via email to

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