From 6921d84198d836fd65c661c9ed586a90a744c74e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 8 Jun 2017 20:59:29 +0200 Subject: [PATCH] ox: Fix search cell error on footnote sections * lisp/ox.el (org-export--install-footnote-definitions): Provide :raw-value property when building a virtual footnote section, as `org-export-search-cells' expects it. --- lisp/ox.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 08c2d4448..f39a3952e 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -2844,7 +2844,8 @@ containing their first reference." (org-element-create 'headline (list :footnote-section-p t :level 1 - :title org-footnote-section) + :title org-footnote-section + :raw-value org-footnote-section) (apply #'org-element-create 'section nil