Browse Source

ox-html.el (org-html-format-headline-function): Fix docstring

* ox-html.el (org-html-format-headline-function): Fix docstring.
Bastien Guerry 12 years ago
parent
commit
d242be2c89
1 changed files with 1 additions and 13 deletions
  1. 1 13
      lisp/ox-html.el

+ 1 - 13
lisp/ox-html.el

@@ -359,19 +359,7 @@ PRIORITY  the priority of the headline (integer or nil)
 TEXT      the main headline text (string).
 TEXT      the main headline text (string).
 TAGS      the tags (string or nil).
 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
   :group 'org-export-html
   :type 'function)
   :type 'function)