1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-03 08:30:03 +00:00

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

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