From 42d4cf44a43c9d09da6e7fc34d459cc8817fc723 Mon Sep 17 00:00:00 2001 From: John Doty Date: Tue, 24 May 2016 14:05:06 -0700 Subject: [PATCH] Flycheck for python is rad --- .emacs.d/core.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/core.el b/.emacs.d/core.el index 6fa1741..d61cad2 100644 --- a/.emacs.d/core.el +++ b/.emacs.d/core.el @@ -569,6 +569,12 @@ (setq interpreter-mode-alist (cons '("python" . python-mode) interpreter-mode-alist)) +(defun my-python-hook () + (flycheck-mode) + ) + +(add-hook 'python-mode-hook 'my-python-hook) + ;; ================================================================= ;; JavaScript Support ;; =================================================================