Fix ascii export

This commit is contained in:
Tom Willemse 2014-01-27 23:47:22 +01:00
parent 9482a594cc
commit 06676fb533

View file

@ -227,7 +227,7 @@ parts of the module."
(defmethod edocs--export-format-text ((exporter edocs-ascii-exporter) (defmethod edocs--export-format-text ((exporter edocs-ascii-exporter)
txt known-symbols) txt known-symbols)
"Perform formatting operations on TXT." "Perform formatting operations on TXT."
txt) (insert txt))
(defmethod edocs--export-insert-header ((exporter edocs-html-exporter) (defmethod edocs--export-insert-header ((exporter edocs-html-exporter)
level txt) level txt)
@ -314,8 +314,7 @@ See the docstring for `edocs--module-name' for more information."
"Insert definition." "Insert definition."
(insert "-- " (edocs--get-type-display type) ": " (insert "-- " (edocs--get-type-display type) ": "
name " " (or args "") "\n\n" name " " (or args "") "\n\n"
(or (edocs--format-doc exporter doc known-symbols) (edocs--format-doc exporter doc known-symbols) "\n\n"))
"Not documented.") "\n\n"))
(defun edocs--format-symbol (exporter symbol known-symbols) (defun edocs--format-symbol (exporter symbol known-symbols)
"Make EXPORTER format the information in SYMBOL. "Make EXPORTER format the information in SYMBOL.