branch: externals/compat commit 557c74f87fe8298d186703b8b7ed46745d9bb7dd Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
compat.el: Add missing compat-declare-version --- compat.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compat.el b/compat.el index bb787f3cb4..f1ee239e25 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))