From 9a163a067bdee4c9d1a73ce6e1b32d095e4cabc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Sat, 9 Oct 2021 16:26:59 +0300 Subject: [PATCH 54/76] Deprecate org-man-headline. --- lisp/org-compat.el | 2 ++ lisp/ox-man.el | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index b55ae79da..f21c1c601 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -406,6 +406,8 @@ Counting starts at 1." 'org-link-search-must-match-exact-heading "9.5") (define-obsolete-variable-alias 'org-loop-over-headlines-in-active-region 'org-loop-over-headings-in-active-region "9.5") +(define-obsolete-function-alias 'org-man-headline + 'org-man-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-man.el b/lisp/ox-man.el index adededc31..320467549 100644 --- a/lisp/ox-man.el +++ b/lisp/ox-man.el @@ -64,7 +64,7 @@ (fixed-width . org-man-fixed-width) (footnote-definition . org-man-footnote-definition) (footnote-reference . org-man-footnote-reference) - (headline . org-man-headline) + (headline . org-man-heading) (horizontal-rule . org-man-horizontal-rule) (inline-babel-call . org-man-inline-babel-call) (inline-src-block . org-man-inline-src-block) @@ -442,7 +442,7 @@ CONTENTS is nil. INFO is a plist holding contextual information." ;;; Heading -(defun org-man-headline (heading contents info) +(defun org-man-heading (heading contents info) "Transcode a HEADING element from Org to Man. CONTENTS holds the contents of the heading. INFO is a plist holding contextual information." -- 2.33.0