org-footnote: Allow footnotes in verse blocks

* lisp/org-footnote.el (org-footnote-forbidden-blocks): Allow
  footnotes in verse blocks.
This commit is contained in:
Nicolas Goaziou 2012-02-24 09:42:15 +01:00
parent 94185eac92
commit a356059f38

View file

@ -84,8 +84,8 @@
(org-re "^\\[\\([0-9]+\\|fn:[-_[:word:]]+\\)\\]") (org-re "^\\[\\([0-9]+\\|fn:[-_[:word:]]+\\)\\]")
"Regular expression matching the definition of a footnote.") "Regular expression matching the definition of a footnote.")
(defvar org-footnote-forbidden-blocks '("example" "verse" "src" "ascii" "beamer" (defconst org-footnote-forbidden-blocks
"docbook" "html" "latex" "odt") '("ascii" "beamer" "comment" "docbook" "example" "html" "latex" "odt" "src")
"Names of blocks where footnotes are not allowed.") "Names of blocks where footnotes are not allowed.")
(defgroup org-footnote nil (defgroup org-footnote nil