Browse Source

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.
Nicolas Goaziou 7 years ago
parent
commit
36c8d8b4d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-footnote.el

+ 1 - 1
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)