From 57d8e140d8192551b49d5c3899fcb0dc357004f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Sat, 9 Oct 2021 16:19:43 +0300 Subject: [PATCH 49/76] Deprecate org-latex-format-headline-default-function. --- lisp/org-compat.el | 2 ++ lisp/ox-latex.el | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 45c15aadb..a8aaa67d9 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -396,6 +396,8 @@ Counting starts at 1." 'org-koma-letter-heading "9.5") (define-obsolete-variable-alias 'org-koma-letter-headline-is-opening-maybe 'org-koma-letter-heading-is-opening-maybe "9.5") +(define-obsolete-function-alias 'org-latex-format-headline-default-function + 'org-latex-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-latex.el b/lisp/ox-latex.el index fcec36d35..fb5205053 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -646,7 +646,7 @@ precedence over this variable." ;;;; Heading (defcustom org-latex-format-headline-function - 'org-latex-format-headline-default-function + 'org-latex-format-heading-default-function "Function for formatting the heading's text. This function will be called with six arguments: @@ -2082,7 +2082,7 @@ holding contextual information." (format section-fmt full-text (concat heading-label pre-blanks contents)))))))) -(defun org-latex-format-headline-default-function +(defun org-latex-format-heading-default-function (todo _todo-type priority text tags _info) "Default format function for a heading. See `org-latex-format-headline-function' for details." -- 2.33.0