aboutsummaryrefslogtreecommitdiff
path: root/compat.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-01-07 02:11:42 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-01-07 02:11:42 +0100
commit557c74f87fe8298d186703b8b7ed46745d9bb7dd (patch)
tree8955b7ddf8e5fa9123dbfae2335af45da79d0a1a /compat.el
parentedc6830f688c13c9533ef0702028a0e10c0733a0 (diff)
compat.el: Add missing compat-declare-version
Diffstat (limited to 'compat.el')
-rw-r--r--compat.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat.el b/compat.el
index bb787f3..f1ee239 100644
--- a/compat.el
+++ b/compat.el
@@ -62,7 +62,7 @@ See `compat-function' for the compatibility function resolution."
(let ((compat (intern (format "compat--%s" fun))))
`(,(if (fboundp compat) compat fun) ,@args)))
-;;;; Conditionally defined functions
+;;;; Emacs 27 (Conditionally defined functions)
;; TODO Maybe the functions should be moved to a separate file compat-cond.el,
;; which will be always loaded? However this file maybe empty, so maybe the best
@@ -71,8 +71,9 @@ See `compat-function' for the compatibility function resolution."
;; functions are currently marked as untested.
(eval-when-compile (load "compat-macs.el" nil t t))
+(compat-declare-version "27.1")
-;;;;; Defined in json.c as part of Emacs 27
+;;;;; Defined in json.c
(declare-function json-serialize nil (object &rest args))
(declare-function json-encode "json" (object))