diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-10-27 20:19:51 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-10-27 20:19:51 -0400 |
commit | 449e351b1cc0cd9e3bac1ade36eb12b226fbed76 (patch) | |
tree | 2bb674f929a8877ceca47284906a047af5ab2a03 /lisp/json.el | |
parent | 4eb1e7f96b6c3758c321aed7523502089a8ede74 (diff) | |
download | emacs-449e351b1cc0cd9e3bac1ade36eb12b226fbed76.tar.gz |
* lisp/json.el (json-new-object): Optimize trivial `list' call
Diffstat (limited to 'lisp/json.el')
-rw-r--r-- | lisp/json.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. |