Commit 9785d351 authored by Mark Oteiza's avatar Mark Oteiza

* lisp/json.el (json-read-keyword): Revert previous change to catch EOL.

parent 541b596b
......@@ -305,7 +305,7 @@ KEYWORD is the keyword expected."
(unless (memq (following-char) '(?\] ?, ?}))
(unless (looking-at "\\([],}]\\|$\\)")
(signal 'json-unknown-keyword
(list (save-excursion
(backward-word-strictly 1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment