summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-02-24 10:01:39 +0100
committerBastien Guerry <bzg@altern.org>2013-02-24 10:01:39 +0100
commitd242be2c89d857d41285eb985a0a02f47d6d84da (patch)
tree19a376f19616374031e13b98e8fc7f03c89025c8
parentf8e87473d7d0efe1e9a1cc0dea36c884e67e25f0 (diff)
downloadorg-mode-d242be2c89d857d41285eb985a0a02f47d6d84da.tar.gz
ox-html.el (org-html-format-headline-function): Fix docstring
* ox-html.el (org-html-format-headline-function): Fix docstring.
-rw-r--r--lisp/ox-html.el14
1 files changed, 1 insertions, 13 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index d979909..051bc13 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -359,19 +359,7 @@ PRIORITY the priority of the headline (integer or nil)
TEXT the main headline text (string).
TAGS the tags (string or nil).
-The function result will be used in the section format string.
-
-As an example, one could set the variable to the following, in
-order to reproduce the default set-up:
-
-\(defun org-html-format-headline \(todo todo-type priority text tags)
- \"Default format function for a headline.\"
- \(concat \(when todo
- \(format \"\\\\textbf{\\\\textsc{\\\\textsf{%s}}} \" todo))
- \(when priority
- \(format \"\\\\framebox{\\\\#%c} \" priority))
- text
- \(when tags (format \"\\\\hfill{}\\\\textsc{%s}\" tags))))"
+The function result will be used in the section format string."
:group 'org-export-html
:type 'function)