From e887c666dcb20861ac138e49fe80736d189940f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Sat, 9 Oct 2021 16:51:40 +0300 Subject: [PATCH 72/76] Deprecate org-texinfo-format-headline-default-function. --- 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 2d84b2f75..eb59a451e 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -430,6 +430,8 @@ Counting starts at 1." 'org-point-at-end-of-empty-heading "9.5") (define-obsolete-variable-alias 'org-remember-default-headline 'org-remember-default-heading "9.5") +(define-obsolete-function-alias 'org-texinfo-format-headline-default-function + 'org-texinfo-format-heading-default-function "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 49ee119e5..2537c24ed 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -212,7 +212,7 @@ section string and will be replaced by the title of the section." ;;;; Heading (defcustom org-texinfo-format-headline-function - 'org-texinfo-format-headline-default-function + 'org-texinfo-format-heading-default-function "Function to format heading text. This function will be called with 5 arguments: @@ -927,7 +927,7 @@ holding contextual information." (format command full-text) contents)))))) -(defun org-texinfo-format-headline-default-function +(defun org-texinfo-format-heading-default-function (todo _todo-type priority text tags) "Default format function for a heading. See `org-texinfo-format-headline-function' for details." -- 2.33.0