Suppress flycheck (if enabled) when editing recipes

This commit is contained in:
Steve Purcell 2013-08-13 14:57:37 +01:00
parent 5060b1c9b1
commit 24a87204f2

View file

@ -2,6 +2,8 @@
(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)))