From f9c4f2811f9ec6ca48274503b7fa0dd0d830f57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Sat, 9 Oct 2021 16:27:38 +0300 Subject: [PATCH 55/76] Deprecate org-md--headline-referred-p. No alias since the function is internal. --- lisp/ox-md.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox-md.el b/lisp/ox-md.el index d774e4600..c04c36406 100644 --- a/lisp/ox-md.el +++ b/lisp/ox-md.el @@ -159,7 +159,7 @@ Assume BACKEND is `md'." ;;; Internal functions -(defun org-md--headline-referred-p (heading info) +(defun org-md--heading-referred-p (heading info) "Non-nil when HEADING is being referred to. INFO is a plist used as a communication channel. Links and table of contents can refer to headings." @@ -383,7 +383,7 @@ a communication channel." (and contents (replace-regexp-in-string "^" " " contents))))) (t (let ((anchor - (and (org-md--headline-referred-p heading info) + (and (org-md--heading-referred-p heading info) (format "" (or (org-element-property :CUSTOM_ID heading) (org-export-get-reference heading info)))))) -- 2.33.0