summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-06-08 20:59:29 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-06-08 20:59:29 +0200
commit6921d84198d836fd65c661c9ed586a90a744c74e (patch)
tree8ed9a93da294584d20b51b20cf4c0811df79e887
parentf03387ef90c9adff1388773cc33b755669d97601 (diff)
downloadorg-mode-6921d84198d836fd65c661c9ed586a90a744c74e.tar.gz
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.
-rw-r--r--lisp/ox.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ox.el b/lisp/ox.el
index 08c2d44..f39a395 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