summaryrefslogtreecommitdiff
path: root/lisp/json.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/json.el')
-rw-r--r--lisp/json.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/json.el b/lisp/json.el
index fb0f62c8777..a1e9bb78d11 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -52,12 +52,6 @@
;;; Code:
-
-;; Compatibility code
-
-(defalias 'json-decode-char0 'decode-char)
-
-
;; Parameters
(defvar json-object-type 'alist
@@ -286,7 +280,7 @@ representation will be parsed correctly."
((looking-at "[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]")
(let ((hex (match-string 0)))
(json-advance 4)
- (json-decode-char0 'ucs (string-to-number hex 16))))
+ (string-to-number hex 16)))
(t
(signal 'json-string-escape (list (point)))))))