Skip to content

Commit c528c77

Browse files
authored
Merge pull request #45 from Fuco1/patch-1
Add some common files to auto-load-alist
2 parents e8ba0c0 + 22a2936 commit c528c77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

json-mode.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
(add-to-list 'auto-mode-alist '("\\.json$" . json-mode))
7070
;;;###autoload
7171
(add-to-list 'auto-mode-alist '("\\.jsonld$" . json-mode))
72+
;;;###autoload
73+
(add-to-list 'auto-mode-alist (cons (rx (or
74+
".babelrc"
75+
".bowerrc"
76+
) eos)
77+
'json-mode))
7278

7379
;;;###autoload
7480
(defun json-mode-show-path ()

0 commit comments

Comments
 (0)