diff options
author | Yoichi Nakayama <yoichi.nakayama@gmail.com> | 2015-02-11 16:37:10 +0900 |
---|---|---|
committer | Yoichi Nakayama <yoichi.nakayama@gmail.com> | 2015-02-11 16:37:10 +0900 |
commit | 3cdf70f3c4c2713b206775f25df55b0c2e2854fb (patch) | |
tree | ed31d92218f2b4208b15f3026ba1fad026996b6a /doc | |
parent | 3e8467396311c5668a192f7a94b08c02fe370b51 (diff) | |
download | pylint-3cdf70f3c4c2713b206775f25df55b0c2e2854fb.tar.gz |
[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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ide-integration.rst | 3 |
1 files changed, 1 insertions, 2 deletions
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))) |