summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-05-19 09:50:10 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2013-05-19 09:52:57 +0200
commitaafb2d2b46ab4aded295ea9a81e8e2840628dc64 (patch)
treee0bf5b7a8f671b80fdf225203f3b73cb9d3ac741
parentf3c86bc48826905608b71b173ecce122df5944bf (diff)
downloadorg-mode-aafb2d2b46ab4aded295ea9a81e8e2840628dc64.tar.gz
ox: Fix "Symbol's value as variable is void: org-export--default-title"
* lisp/ox.el (org-export--default-title): Fix "Symbol's value as variable is void: org-export--default-title". Bug was introduced in b70e77343aa3daee9312c81c96ef5da217d7fda5.
-rw-r--r--lisp/ox.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox.el b/lisp/ox.el
index 76f3df9..6752612 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -1710,7 +1710,7 @@ Assume buffer is in Org mode. Narrowing, if any, is ignored."
;; Store full path of input file name, or nil. For internal use.
(list :input-file (buffer-file-name (buffer-base-buffer))))
-(defvar org-export--default-title) ; Dynamically scoped.
+(defvar org-export--default-title nil) ; Dynamically scoped.
(defun org-export-store-default-title ()
"Return default title for current document, as a string.
Title is extracted from associated file name, if any, or buffer's