[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 8038f63088: Use natnum custom type (supporte
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 8038f63088: Use natnum custom type (supported by Compat 29.1.4.0) |
Date: |
Sun, 5 Mar 2023 02:59:44 -0500 (EST) |
branch: externals/org-modern
commit 8038f63088ca40397417a000aeaea0e51128bf3e
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use natnum custom type (supported by Compat 29.1.4.0)
---
org-modern.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index fccdb3b1c1..74817b2617 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -6,7 +6,7 @@
;; Maintainer: Daniel Mendler <mail@daniel-mendler.de>
;; Created: 2022
;; Version: 0.8
-;; Package-Requires: ((emacs "27.1"))
+;; Package-Requires: ((emacs "27.1") (compat "29.1.4.0"))
;; Homepage: https://github.com/minad/org-modern
;; This file is part of GNU Emacs.
@@ -32,6 +32,7 @@
;;; Code:
+(require 'compat)
(require 'org)
(eval-when-compile
(require 'cl-lib)
@@ -86,7 +87,7 @@ and TIME must be surrounded with space. For the syntax,
refer to
(defcustom org-modern-table-vertical 3
"Width of vertical table lines in pixels.
Set to nil to hide the vertical lines."
- :type '(choice (const nil) integer))
+ :type '(choice (const nil) natnum))
(defcustom org-modern-table-horizontal 0.1
"Prettify horizontal table lines."
@@ -193,7 +194,7 @@ all other blocks."
This variable can also be set to an integer between 0 and 16,
which specifies the offset of the block border from the edge of
the window."
- :type '(choice boolean integer))
+ :type '(choice boolean natnum))
(defcustom org-modern-keyword t
"Prettify keywords like #+title.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org-modern 8038f63088: Use natnum custom type (supported by Compat 29.1.4.0),
ELPA Syncer <=