We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffc92b1 + ddaf811 commit 0e819e5Copy full SHA for 0e819e5
json-mode.el
@@ -121,7 +121,8 @@ This function calls `json-mode--update-auto-mode' to change the
121
(set (make-local-variable 'font-lock-defaults) '(json-font-lock-keywords-1 t)))
122
123
;; Well formatted JSON files almost always begin with “{” or “[”.
124
-(add-to-list 'magic-mode-alist '("^[{[]$" . json-mode))
+;;;###autoload
125
+(add-to-list 'magic-fallback-mode-alist '("^[{[]$" . json-mode))
126
127
;;;###autoload
128
(defun json-mode-show-path ()
0 commit comments