forked from mirrors/org-mode
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:
parent
9214000c21
commit
36c8d8b4d2
|
@ -113,7 +113,7 @@ you will need to run the following command after the change:
|
||||||
|
|
||||||
\\[universal-argument] \\[org-element-cache-reset]"
|
\\[universal-argument] \\[org-element-cache-reset]"
|
||||||
:group 'org-footnote
|
:group 'org-footnote
|
||||||
:initialize 'custom-initialize-set
|
:initialize 'custom-initialize-default
|
||||||
:set (lambda (var val)
|
:set (lambda (var val)
|
||||||
(set var val)
|
(set var val)
|
||||||
(when (fboundp 'org-element-cache-reset)
|
(when (fboundp 'org-element-cache-reset)
|
||||||
|
|
Loading…
Reference in a new issue