summaryrefslogtreecommitdiff
path: root/elisp/pylint-flymake.el
diff options
context:
space:
mode:
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2009-08-31 07:59:47 +0200
committerAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2009-08-31 07:59:47 +0200
commit8a23d031eeb1e2b79832dcc8bef14db468dba8b3 (patch)
tree8e1801b0e1992fc0b976d4d4016c475716cc0d99 /elisp/pylint-flymake.el
parent48ec0e8f37913c4d29f9a1897a9b97b6f69941df (diff)
downloadpylint-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.el5
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)))