From 449e351b1cc0cd9e3bac1ade36eb12b226fbed76 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 27 Oct 2015 20:19:51 -0400 Subject: [PATCH] * lisp/json.el (json-new-object): Optimize trivial `list' call --- lisp/json.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/json.el b/lisp/json.el index e2c7cc77222..b23d12ad0ed 100644 --- a/lisp/json.el +++ b/lisp/json.el @@ -358,7 +358,7 @@ Please see the documentation of `json-object-type'." (cond ((eq json-object-type 'hash-table) (make-hash-table :test 'equal)) (t - (list)))) + ()))) (defun json-add-to-object (object key value) "Add a new KEY -> VALUE association to OBJECT. -- 2.39.5