[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 295a439f99 4/5: Ensure that json-insert can use
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 295a439f99 4/5: Ensure that json-insert can use json-serialize |
Date: |
Sat, 5 Mar 2022 08:57:26 -0500 (EST) |
branch: externals/compat
commit 295a439f99ea365cdd3749b01bbd8c857b383041
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Ensure that json-insert can use json-serialize
---
compat-27.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compat-27.el b/compat-27.el
index 81b205ea87..2106d6924e 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -161,6 +161,7 @@ any JSON false values."
(equal (json-parse-string "[]") nil))
(json-unavailable t)
(void-function t))
+ :realname compat--json-serialize
(require 'json)
(let ((json-false (or (plist-get args :false-object) :false))
(json-null (or (plist-get args :null-object) :null)))
@@ -176,7 +177,7 @@ OBJECT."
(equal (json-parse-string "[]") nil))
(json-unavailable t)
(void-function t))
- (insert (apply #'json-serialize object args)))
+ (insert (apply #'compat--json-serialize object args)))
(compat-defun json-parse-string (string &rest args)
"Parse the JSON STRING into a Lisp object.
- [elpa] externals/compat updated (9fa3fbab8a -> bff40c376e), ELPA Syncer, 2022/03/05
- [elpa] externals/compat 48112917f3 3/5: Ensure directory-files-recursively can call itself, ELPA Syncer, 2022/03/05
- [elpa] externals/compat bff40c376e 5/5: Include compat-defvar in the merged compat.el compilation, ELPA Syncer, 2022/03/05
- [elpa] externals/compat 295a439f99 4/5: Ensure that json-insert can use json-serialize,
ELPA Syncer <=
- [elpa] externals/compat f56f014b06 2/5: Avoid using seq-filter in file-backup-file-names, ELPA Syncer, 2022/03/05
- [elpa] externals/compat 608953fe35 1/5: Define setq-local as a macro, not a function, ELPA Syncer, 2022/03/05