diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 295a1c08e..ca2e6cca9 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -75,10 +75,9 @@ (org-re "^\\(\\[\\([0-9]+\\|fn:[-_[:word:]]+\\)\\]\\)") "Regular expression matching the definition of a footnote.") -(defvar org-footnote-forbidden-blocks '("example" "verse" "src" - "latex" "html" "docbook") - "Names of blocks where footnotes are not allowed. -Names must be in lower case.") +(defvar org-footnote-forbidden-blocks '("example" "verse" "src" "ascii" "beamer" + "docbook" "html" "latex" "odt") + "Names of blocks where footnotes are not allowed.") (defgroup org-footnote nil "Footnotes in Org-mode." diff --git a/lisp/org-list.el b/lisp/org-list.el index 7078f8055..2e8ffe0a3 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -348,7 +348,8 @@ list, obtained by prompting the user." (list (symbol :tag "Major mode") (string :tag "Format")))) -(defvar org-list-forbidden-blocks '("example" "verse" "src" "latex" "html" "docbook") +(defvar org-list-forbidden-blocks '("example" "verse" "src" "ascii" "beamer" + "docbook" "html" "latex" "odt") "Names of blocks where lists are not allowed. Names must be in lower case.")