From 153f71618ea141c49dea22a08701d619e33fa9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Sat, 9 Oct 2021 16:53:13 +0300 Subject: [PATCH 74/76] Deprecate org-texinfo-headline. --- lisp/org-compat.el | 2 ++ lisp/ox-texinfo.el | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 667188ba2..62495d4ce 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -434,6 +434,8 @@ Counting starts at 1." 'org-texinfo-format-heading-default-function "9.5") (define-obsolete-variable-alias 'org-texinfo-format-headline-function 'org-texinfo-format-heading-function "9.5") +(define-obsolete-function-alias 'org-texinfo-headline + 'org-texinfo-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-texinfo.el b/lisp/ox-texinfo.el index 25b26507e..6cac45ec4 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -49,7 +49,7 @@ (fixed-width . org-texinfo-fixed-width) (footnote-definition . org-texinfo-footnote-definition) (footnote-reference . org-texinfo-footnote-reference) - (headline . org-texinfo-headline) + (headline . org-texinfo-heading) (inline-src-block . org-texinfo-inline-src-block) (inlinetask . org-texinfo-inlinetask) (italic . org-texinfo-italic) @@ -863,7 +863,7 @@ plist holding contextual information." ;;;; Heading -(defun org-texinfo-headline (heading contents info) +(defun org-texinfo-heading (heading contents info) "Transcode a HEADING element from Org to Texinfo. CONTENTS holds the contents of the heading. INFO is a plist holding contextual information." -- 2.33.0