From 36c8d8b4d22007e2d24104c31e3a76de83095b53 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 17 Nov 2013 09:52:54 +0100 Subject: [PATCH] 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. --- lisp/org-footnote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index e80f36fde..f4c9273b4 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)