Files
emacsd/elpa/flymake-json-20180511.911/flymake-json.elc

24 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-10-27 19:05:34 +01:00
;ELC
;;; Compiled
;;; in Emacs version 26.3
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'flymake-easy)
(defconst flymake-json-err-line-patterns '(("^\\(.+\\): line \\([0-9]+\\), col \\([0-9]+\\), \\(.+\\)$" nil 2 3 4)))
#@76 Construct a command that flymake can use to check json source in FILENAME.
(defalias 'flymake-json-command #[(filename) "\301\302\303F\207" [filename "jsonlint" "-c" "-q"] 4 (#$ . 549)])
#@73 Configure flymake mode to check the current buffer's javascript syntax.
(defalias 'flymake-json-load #[nil "\301\302\303\304$\207" [flymake-json-err-line-patterns flymake-easy-load flymake-json-command tempdir "json"] 5 (#$ . 743) nil])
#@59 Call `flymake-json-load' if this file appears to be json.
(defalias 'flymake-json-maybe-load #[nil "\205\301!\302\230\205\303 \207" [buffer-file-name file-name-extension "json" flymake-json-load] 2 (#$ . 987) nil])
(provide 'flymake-json)