summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXi Shen <davidshen84@gmail.com>2015-01-24 00:00:32 +0000
committerXi Shen <davidshen84@gmail.com>2015-01-24 00:00:32 +0000
commit5396573a6a61ec31ae8e7664f76fdf09901d2963 (patch)
tree539043cd479fc3fdf4c1c5555f7209e0ef9c72e8
parent5e3c3acdca5fc311b195b9a5e4b15a336b919819 (diff)
downloadpylint-davidshen84/pylintel-edited-online-with-bitbucket--1422057628377.tar.gz
- use `shell-quote-argument` to quote file name correctly - tested in both Windows and Linux
-rw-r--r--elisp/pylint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/pylint.el b/elisp/pylint.el
index 69dac09..90a586c 100644
--- a/elisp/pylint.el
+++ b/elisp/pylint.el
@@ -115,7 +115,7 @@ output buffer, to go to the lines where pylint found matches.
'identity
(list pylint-command
(mapconcat 'identity pylint-options " ")
- (comint-quote-filename file)) " ")))
+ (shell-quote-argument file)) " ")))
(compilation-start command 'pylint-mode)))