forked from mirrors/org-mode
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:
parent
94185eac92
commit
a356059f38
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue