Browse Source

ox-html: Fix code typo in 1fd83e048760c38c23d422f649a53d79591ba5c3

* lisp/ox-html.el (org-html--format-toc-headline): Fix function name.
Nicolas Goaziou 12 years ago
parent
commit
9e7c30ea3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-html.el

+ 1 - 1
lisp/ox-html.el

@@ -1579,7 +1579,7 @@ and value is its relative level, as an integer."
       toc-entries "")
      (org-html--make-string (- prev-level start-level) "</li>\n</ul>\n"))))
 
-(defun org-html--format-toc-entry (headline info)
+(defun org-html--format-toc-headline (headline info)
   "Return an appropriate table of contents entry for HEADLINE.
 INFO is a plist used as a communication channel."
   (let* ((headline-number (org-export-get-headline-number headline info))