branch: externals/json-mode commit 09775d0d18062742a1a87a9c862fd54115032d2a Author: Stefan Kangas <stefankan...@gmail.com> Commit: Stefan Kangas <stefankan...@gmail.com>
; Fix byte-compilation warnings --- json-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/json-mode.el b/json-mode.el index a7a78a058c..d9395cd8ae 100644 --- a/json-mode.el +++ b/json-mode.el @@ -101,11 +101,11 @@ Object names receive the face `json-mode-object-name-face' to distinguish them from other strings." (cond - ((nth 4 state) font-lock-comment-face) + ((nth 4 state) 'font-lock-comment-face) ((and (nth 3 state) (json-mode--string-is-object-name-p (nth 8 state))) 'json-mode-object-name-face) - (t font-lock-string-face))) + (t 'font-lock-string-face))) (defconst json-mode--smie-grammar (smie-prec2->grammar