[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org d122c2b5b4 4/4: ox-md: Tweak a defcustom ty
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org d122c2b5b4 4/4: ox-md: Tweak a defcustom type for compatibility with Emacs<28 |
Date: |
Thu, 1 Dec 2022 17:58:05 -0500 (EST) |
branch: externals-release/org
commit d122c2b5b41cd0df6431683242e0fa0f4303d863
Author: Kyle Meyer <kyle@kyleam.com>
Commit: Kyle Meyer <kyle@kyleam.com>
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.
---
lisp/ox-md.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/ox-md.el b/lisp/ox-md.el
index 01e0aa0491..dcd95e9871 100644
--- a/lisp/ox-md.el
+++ b/lisp/ox-md.el
@@ -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)