mirror of
https://github.com/correl/melpa.git
synced 2024-12-18 19:21:32 +00:00
Suppress flycheck (if enabled) when editing recipes
This commit is contained in:
parent
5060b1c9b1
commit
24a87204f2
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
||||||
(file-regular-p (buffer-file-name))
|
(file-regular-p (buffer-file-name))
|
||||||
(string-match-p "^[^.]" (buffer-file-name)))
|
(string-match-p "^[^.]" (buffer-file-name)))
|
||||||
(emacs-lisp-mode)
|
(emacs-lisp-mode)
|
||||||
|
(when (fboundp 'flycheck-mode)
|
||||||
|
(flycheck-mode -1))
|
||||||
(unless (featurep 'package-build)
|
(unless (featurep 'package-build)
|
||||||
(let ((load-path (cons ".." load-path)))
|
(let ((load-path (cons ".." load-path)))
|
||||||
(require 'package-build)))
|
(require 'package-build)))
|
||||||
|
|
Loading…
Reference in a new issue