From a434a8962d1814c7a7983b4e7ab74683c665e651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Fri, 8 Oct 2021 19:53:45 +0300 Subject: [PATCH 41/76] Deprecate org-html-headline. --- lisp/org-compat.el | 2 ++ lisp/ox-html.el | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 7d732300a..c6c1a58b7 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -382,6 +382,8 @@ Counting starts at 1." 'org-html-format-heading-default-function "9.5") (define-obsolete-variable-alias 'org-html-format-headline-function 'org-html-format-heading-function "9.5") +(define-obsolete-function-alias 'org-html-headline + 'org-html-heading "9.5") (define-obsolete-face-alias 'org-headline-done 'org-heading-done "9.5") (define-obsolete-face-alias 'org-headline-todo 'org-heading-todo "9.5") diff --git a/lisp/ox-html.el b/lisp/ox-html.el index eed29b80c..6647df3f6 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -64,7 +64,7 @@ (export-snippet . org-html-export-snippet) (fixed-width . org-html-fixed-width) (footnote-reference . org-html-footnote-reference) - (headline . org-html-headline) + (headline . org-html-heading) (horizontal-rule . org-html-horizontal-rule) (inline-src-block . org-html-inline-src-block) (inlinetask . org-html-inlinetask) @@ -2601,7 +2601,7 @@ CONTENTS is nil. INFO is a plist holding contextual information." ;;;; Heading -(defun org-html-headline (heading contents info) +(defun org-html-heading (heading contents info) "Transcode a HEADING element from Org to HTML. CONTENTS holds the contents of the heading. INFO is a plist holding contextual information." -- 2.33.0