瀏覽代碼

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

* ox-html.el (org-html-format-headline-function): Fix docstring.
Bastien Guerry 12 年之前
父節點
當前提交
d242be2c89
共有 1 個文件被更改,包括 1 次插入13 次删除
  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).
 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)