Browse Source

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.
Nicolas Goaziou 11 years ago
parent
commit
aafb2d2b46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox.el

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