Skip to content

Commit 7e7934d

Browse files
committed
Fix setting font-lock-defaults on load
Fixes #79
1 parent bfd1557 commit 7e7934d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ See `forward-sexp for ARG."
201201
;;;###autoload
202202
(define-derived-mode jsonc-mode json-mode "JSONC"
203203
"Major mode for editing JSON files with comments."
204-
:syntax-table jsonc-mode-syntax-table)
205-
(setq font-lock-defaults '(json-font-lock-keywords-1 t))
204+
:syntax-table jsonc-mode-syntax-table
205+
(setq font-lock-defaults '(json-font-lock-keywords-1 t)))
206206

207207
;; Well formatted JSON files almost always begin with “{” or “[”.
208208
;;;###autoload

0 commit comments

Comments
 (0)