|
@@ -114,7 +114,10 @@ you will need to run the following command after the change:
|
|
|
\\[universal-argument] \\[org-element-cache-reset]"
|
|
|
:group 'org-footnote
|
|
|
:initialize 'custom-initialize-set
|
|
|
- :set (lambda (var val) (set var val) (org-element-cache-reset 'all))
|
|
|
+ :set (lambda (var val)
|
|
|
+ (set var val)
|
|
|
+ (when (fboundp 'org-element-cache-reset)
|
|
|
+ (org-element-cache-reset 'all)))
|
|
|
:type '(choice
|
|
|
(string :tag "Collect footnotes under heading")
|
|
|
(const :tag "Define footnotes locally" nil)))
|