ox-md: Tweak a defcustom type for compatibility with Emacs<28

* lisp/ox-md.el (org-md-toplevel-hlevel): Change the type from natnum
to integer, which is less accurate but compatible with all Emacs
versions that Org supports.

This is a follow-up to the recent port of 4b2f5425d.
This commit is contained in:
Kyle Meyer 2022-12-01 17:26:01 -05:00
parent 3159ea296f
commit d122c2b5b4
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ included into another document or application that reserves top-level
headings for its own use."
:group 'org-export-md
:package-version '(Org . "9.6")
:type 'natnum)
;; Avoid `natnum' because that's not available until Emacs 28.1.
:type 'integer)