summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-11-17 09:52:54 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-11-17 09:52:54 +0100
commit36c8d8b4d22007e2d24104c31e3a76de83095b53 (patch)
treeb4070380b1e4e92abb388f936ee3828002a5a0a4
parent9214000c21df691c08dc6b9b84301f97c80cf2b6 (diff)
downloadorg-mode-36c8d8b4d22007e2d24104c31e3a76de83095b53.tar.gz
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.
-rw-r--r--lisp/org-footnote.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index e80f36f..f4c9273 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -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)