summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-02-07 08:43:09 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-02-07 08:43:09 +0100
commitb3721c2a662cfea5f5fcaee1d68cde8324afd591 (patch)
treee216bed2ceef22571b987a48ea90a54e48a257a1
parentdc5d61f03ad278a49a52410788e1b5435a011603 (diff)
downloadorg-mode-b3721c2a662cfea5f5fcaee1d68cde8324afd591.tar.gz
org-footnote: Fix bogus defvar declares
* lisp/org-footnote.el (org-blank-before-new-entry, org-export-footnotes-seen, org-export-footnotes-data): Fix bogus declarations. This fixes bug #10745. Thanks to Steve Revilak for the report and to Glenn Morris for the solution.
-rw-r--r--lisp/org-footnote.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 960da7d..9303f14 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -481,7 +481,7 @@ or new, let the user edit the definition of the footnote."
(org-footnote-create-definition label)
(org-footnote-auto-adjust-maybe)))))
-(defvar org-blank-before-new-entry nil) ; silence byte-compiler
+(defvar org-blank-before-new-entry) ; silence byte-compiler
(defun org-footnote-create-definition (label)
"Start the definition of a footnote with label LABEL."
(interactive "sLabel: ")
@@ -603,8 +603,8 @@ With prefix arg SPECIAL, offer additional commands in a menu."
(defvar org-footnote-insert-pos-for-preprocessor 'point-max
"See `org-footnote-normalize'.")
-(defvar org-export-footnotes-seen nil) ; silence byte-compiler
-(defvar org-export-footnotes-data nil) ; silence byte-compiler
+(defvar org-export-footnotes-seen) ; silence byte-compiler
+(defvar org-export-footnotes-data) ; silence byte-compiler
;;;###autoload
(defun org-footnote-normalize (&optional sort-only export-props)