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
commitae3ae4af11a236a98e759b1735ec7f20d62c8050 (patch)
tree70e9ca38222ddb5e9ad79b79918168eead0b8a48
parent3444a944099da60254121ce7715eceb322acd99f (diff)
downloadpylint-git-ae3ae4af11a236a98e759b1735ec7f20d62c8050.tar.gz
pylint.el edited online with Bitbucket
- use `shell-quote-argument` to quote file name correctly - tested in both Windows and Linux --HG-- branch : davidshen84/pylintel-edited-online-with-bitbucket--1422057628377
-rw-r--r--elisp/pylint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/pylint.el b/elisp/pylint.el
index 69dac09af..90a586cf4 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)))