diff options
author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2009-08-31 07:59:47 +0200 |
---|---|---|
committer | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2009-08-31 07:59:47 +0200 |
commit | 8a23d031eeb1e2b79832dcc8bef14db468dba8b3 (patch) | |
tree | 8e1801b0e1992fc0b976d4d4016c475716cc0d99 /elisp/pylint-flymake.el | |
parent | 48ec0e8f37913c4d29f9a1897a9b97b6f69941df (diff) | |
download | pylint-git-8a23d031eeb1e2b79832dcc8bef14db468dba8b3.tar.gz |
[elisp] integration of Yuen Ho Wong's patches
Diffstat (limited to 'elisp/pylint-flymake.el')
-rw-r--r-- | elisp/pylint-flymake.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/pylint-flymake.el b/elisp/pylint-flymake.el index df4686711..6313ba545 100644 --- a/elisp/pylint-flymake.el +++ b/elisp/pylint-flymake.el @@ -1,6 +1,4 @@ - ;; Configure flymake for python -(setq pylint "epylint") (when (load "flymake" t) (defun flymake-pylint-init () (let* ((temp-file (flymake-init-create-temp-buffer-copy @@ -8,7 +6,8 @@ (local-file (file-relative-name temp-file (file-name-directory buffer-file-name)))) - (list (expand-file-name pylint "") (list local-file)))) + (list "epylint" (list local-file)))) + (add-to-list 'flymake-allowed-file-name-masks '("\\.py\\'" flymake-pylint-init))) |