org-footnote: Fix dual `org-load-hook' run

* lisp/org-footnote.el (org-footnote-section): Do not require
  `org-element' when initializing the variable, since `org' is not
  provided yet.
This commit is contained in:
Nicolas Goaziou 2013-11-17 09:52:54 +01:00
parent 9214000c21
commit 36c8d8b4d2
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ you will need to run the following command after the change:
\\[universal-argument] \\[org-element-cache-reset]"
:group 'org-footnote
:initialize 'custom-initialize-set
:initialize 'custom-initialize-default
:set (lambda (var val)
(set var val)
(when (fboundp 'org-element-cache-reset)