From 24a87204f2c20092dd6b960b401f13ba4798e555 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Tue, 13 Aug 2013 14:57:37 +0100 Subject: [PATCH] Suppress flycheck (if enabled) when editing recipes --- recipes/.dir-locals.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/.dir-locals.el b/recipes/.dir-locals.el index 960d6133..57c06e70 100644 --- a/recipes/.dir-locals.el +++ b/recipes/.dir-locals.el @@ -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)))