Просмотр исходного кода

org.html: Initialize `html-pre-real-contents' correctly.

* org-html.el (org-export-as-html): Initialize
`html-pre-real-contents' correctly.

Thanks to Bill Jackson for this fix.
Bastien Guerry 13 лет назад
Родитель
Сommit
e9ed31f8b9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lisp/org-html.el

+ 1 - 1
lisp/org-html.el

@@ -1351,7 +1351,7 @@ PUB-DIR is set, use this as the publishing directory."
 	;; insert html preamble
 	(when (plist-get opt-plist :html-preamble)
 	  (let ((html-pre (plist-get opt-plist :html-preamble))
-		html-pre-real-contents)
+		(html-pre-real-contents ""))
 	    (cond ((stringp html-pre)
 		   (setq html-pre-real-contents
 			 (format-spec html-pre `((?t . ,title) (?a . ,author)