From dd7580dc7a3ffd9798e154dbc9c8d261dd1d22a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Sat, 9 Oct 2021 16:31:47 +0300 Subject: [PATCH 58/76] Deprecate org-md-headline-style. --- lisp/org-compat.el | 2 ++ lisp/ox-md.el | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index fad1bd8eb..ba486a3e4 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -410,6 +410,8 @@ Counting starts at 1." 'org-man-heading "9.5") (define-obsolete-function-alias 'org-md-headline 'org-md-heading "9.5") +(define-obsolete-variable-alias 'org-md-headline-style + 'org-md-heading-style "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-md.el b/lisp/ox-md.el index af75b52c1..fe8d70c96 100644 --- a/lisp/ox-md.el +++ b/lisp/ox-md.el @@ -43,7 +43,7 @@ :version "24.4" :package-version '(Org . "8.0")) -(defcustom org-md-headline-style 'atx +(defcustom org-md-heading-style 'atx "Style used to format headings. This variable can be set to either `atx' or `setext'." :group 'org-export-md @@ -120,7 +120,7 @@ The %s will be replaced by the footnote reference itself." :options-alist '((:md-footnote-format nil nil org-md-footnote-format) (:md-footnotes-section nil nil org-md-footnotes-section) - (:md-headline-style nil nil org-md-headline-style))) + (:md-headline-style nil nil org-md-heading-style))) ;;; Filters -- 2.33.0