summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-02-24 09:42:15 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-02-24 09:44:36 +0100
commit9ae171a86e8a397ed0b71f0cc7f916eb1d150835 (patch)
treedd4c8be8dfc8cc880c87044cb0f386504c8199d7
parente2a5eb44cb8fa367be37134814f8a3704beb9730 (diff)
downloadorg-mode-9ae171a86e8a397ed0b71f0cc7f916eb1d150835.tar.gz
org-footnote: Allow footnotes in verse blocks
* lisp/org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes in verse blocks.
-rw-r--r--lisp/org-footnote.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 9303f14..c683dad 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