branch: externals/compat
commit e630fbd3cc3261ccf26abd6d59216423e987fa6b
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Declare json-insert and json-parse-buffer in compat-28
    
    These functions will either be provided by Emacs or compat, but they
    still have to be declared so that their usage below doesn't trigger
    compiler warnings.
---
 compat-28.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compat-28.el b/compat-28.el
index 6f55fd4564..d5dbb336ff 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -163,8 +163,10 @@ If COUNT is non-nil and a natural number, the function will
 
 ;;;; Defined in json.c
 
+(declare-function json-insert nil (object &rest args))
 (declare-function json-serialize nil (object &rest args))
 (declare-function json-parse-string nil (string &rest args))
+(declare-function json-parse-buffer nil (&rest args))
 
 (compat-defun json-serialize (object &rest args)
   "Handle top-level JSON values."

Reply via email to