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 b70e77343a.
This commit is contained in:
Nicolas Goaziou 2013-05-19 09:50:10 +02:00
parent f3c86bc488
commit aafb2d2b46
1 changed files with 1 additions and 1 deletions

View File

@ -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