From 3cdf70f3c4c2713b206775f25df55b0c2e2854fb Mon Sep 17 00:00:00 2001 From: Yoichi Nakayama Date: Wed, 11 Feb 2015 16:37:10 +0900 Subject: [doc] sync with elisp/pylint-flymake.el * don't append path of init file to the program name * don't use additional variable for the program name --- doc/ide-integration.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ide-integration.rst b/doc/ide-integration.rst index 7507fb1..30b48e5 100644 --- a/doc/ide-integration.rst +++ b/doc/ide-integration.rst @@ -39,7 +39,6 @@ To enable flymake for Python, insert the following into your .emacs: .. sourcecode:: common-lisp ;; Configure flymake for Python - (setq pylint "epylint") (when (load "flymake" t) (defun flymake-pylint-init () (let* ((temp-file (flymake-init-create-temp-buffer-copy @@ -47,7 +46,7 @@ To enable flymake for Python, insert the following into your .emacs: (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))) -- cgit v1.2.1