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

Remove the #+TEXT field from the export template.

Carsten Dominik 17 лет назад
Родитель
Сommit
87292441ab
2 измененных файлов с 1 добавлено и 1 удалено
  1. 1 0
      lisp/ChangeLog
  2. 0 1
      lisp/org-exp.el

+ 1 - 0
lisp/ChangeLog

@@ -2,6 +2,7 @@
 
 
 	* org-exp.el (org-export-as-html): Do not turn on the major mode
 	* org-exp.el (org-export-as-html): Do not turn on the major mode
 	if the buffer will be killed anyway.
 	if the buffer will be killed anyway.
+	(org-get-current-options): Exclude the #+TEXT field.
 
 
 	* org-publish.el (org-publish-org-to): Tell the exporter that this
 	* org-publish.el (org-publish-org-to): Tell the exporter that this
 	buffer will be killed, so it is not necessary to do major mode
 	buffer will be killed, so it is not necessary to do major mode

+ 0 - 1
lisp/org-exp.el

@@ -2472,7 +2472,6 @@ Does include HTML export options as well as TODO and CATEGORY stuff."
 #+EMAIL:     %s
 #+EMAIL:     %s
 #+DATE:      %s
 #+DATE:      %s
 #+LANGUAGE:  %s
 #+LANGUAGE:  %s
-#+TEXT:      Some descriptive text to be emitted.  Several lines OK.
 #+OPTIONS:   H:%d num:%s toc:%s \\n:%s @:%s ::%s |:%s ^:%s -:%s f:%s *:%s TeX:%s LaTeX:%s skip:%s d:%s tags:%s
 #+OPTIONS:   H:%d num:%s toc:%s \\n:%s @:%s ::%s |:%s ^:%s -:%s f:%s *:%s TeX:%s LaTeX:%s skip:%s d:%s tags:%s
 %s
 %s
 #+LINK_UP:   %s
 #+LINK_UP:   %s