From a356059f387688bacc73c757e3d86bc701303420 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 24 Feb 2012 09:42:15 +0100 Subject: [PATCH] org-footnote: Allow footnotes in verse blocks * lisp/org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes in verse blocks. --- lisp/org-footnote.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index c811bfaec..c848bae2a 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -84,8 +84,8 @@ (org-re "^\\[\\([0-9]+\\|fn:[-_[:word:]]+\\)\\]") "Regular expression matching the definition of a footnote.") -(defvar org-footnote-forbidden-blocks '("example" "verse" "src" "ascii" "beamer" - "docbook" "html" "latex" "odt") +(defconst org-footnote-forbidden-blocks + '("ascii" "beamer" "comment" "docbook" "example" "html" "latex" "odt" "src") "Names of blocks where footnotes are not allowed.") (defgroup org-footnote nil