Merge branch 'maint'
This commit is contained in:
commit
fe8bfb8bd9
|
@ -2231,14 +2231,12 @@ holding contextual information."
|
||||||
(headline-label (or (org-element-property :CUSTOM_ID headline)
|
(headline-label (or (org-element-property :CUSTOM_ID headline)
|
||||||
(concat "sec-" (mapconcat 'number-to-string
|
(concat "sec-" (mapconcat 'number-to-string
|
||||||
headline-number "-"))))
|
headline-number "-"))))
|
||||||
(format-function (cond
|
(format-function
|
||||||
((functionp format-function) format-function)
|
(cond ((functionp format-function) format-function)
|
||||||
((functionp org-html-format-headline-function)
|
((functionp org-html-format-headline-function)
|
||||||
(function*
|
(lambda (todo todo-type priority text tags &rest ignore)
|
||||||
(lambda (todo todo-type priority text tags
|
|
||||||
&allow-other-keys)
|
|
||||||
(funcall org-html-format-headline-function
|
(funcall org-html-format-headline-function
|
||||||
todo todo-type priority text tags))))
|
todo todo-type priority text tags)))
|
||||||
(t 'org-html-format-headline))))
|
(t 'org-html-format-headline))))
|
||||||
(apply format-function
|
(apply format-function
|
||||||
todo todo-type priority text tags
|
todo todo-type priority text tags
|
||||||
|
|
Loading…
Reference in New Issue