emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat 73832a8d0f 09/10: Add a declare-function for jso


From: ELPA Syncer
Subject: [elpa] externals/compat 73832a8d0f 09/10: Add a declare-function for json-serialize
Date: Sun, 17 Jul 2022 17:57:25 -0400 (EDT)

branch: externals/compat
commit 73832a8d0fa6114c823fda3a4e04603811b5972c
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Add a declare-function for json-serialize
---
 compat-27.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/compat-27.el b/compat-27.el
index de9e1748ca..3d909137d9 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -144,6 +144,9 @@ Letter-case is significant, but text properties are 
ignored."
 (defvar json-false)
 (defvar json-null)
 
+;; The function is declared to satisfy the byte compiler while testing
+;; if native JSON parsing is available.;
+(declare-function json-serialize nil (object &rest args))
 (compat-defun json-serialize (object &rest args)
   "Return the JSON representation of OBJECT as a string.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]