mirror of
https://github.com/correl/melpa.git
synced 2025-03-07 04:45:08 -10:00
Disable flycheck in recipes dir
This commit is contained in:
parent
5621f60b3f
commit
ce80c172ff
1 changed files with 11 additions and 10 deletions
|
@ -1,10 +1,11 @@
|
|||
((nil . ((eval . (when (and (buffer-file-name)
|
||||
(file-regular-p (buffer-file-name))
|
||||
(string-match-p "^[^.]" (buffer-file-name)))
|
||||
(emacs-lisp-mode)
|
||||
(when (fboundp 'flycheck-mode)
|
||||
(flycheck-mode -1))
|
||||
(unless (featurep 'package-build)
|
||||
(let ((load-path (cons ".." load-path)))
|
||||
(require 'package-build)))
|
||||
(package-build-minor-mode))))))
|
||||
((emacs-lisp-mode . ((flycheck-checkers nil)))
|
||||
(nil . ((eval . (when (and (buffer-file-name)
|
||||
(file-regular-p (buffer-file-name))
|
||||
(string-match-p "^[^.]" (buffer-file-name)))
|
||||
(emacs-lisp-mode)
|
||||
(when (fboundp 'flycheck-mode)
|
||||
(flycheck-mode -1))
|
||||
(unless (featurep 'package-build)
|
||||
(let ((load-path (cons ".." load-path)))
|
||||
(require 'package-build)))
|
||||
(package-build-minor-mode))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue