summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-16 15:56:28 (GMT)
committerBarry Warsaw <barry@python.org>2002-07-16 15:56:28 (GMT)
commitdaa192104d2cab44df2603cf8c46446e88a57007 (patch)
treec18229231e07c84b49f21a012fc22b0cb024c39f /Misc/python-mode.el
parent03013a0130285c21bb940c89f0538f8ed1d35622 (diff)
downloadcpython-daa192104d2cab44df2603cf8c46446e88a57007.zip
cpython-daa192104d2cab44df2603cf8c46446e88a57007.tar.gz
cpython-daa192104d2cab44df2603cf8c46446e88a57007.tar.bz2
(py-pychecker-run): Thomas Heller points out that this function messes
up the compile command's history. Fix that by using compile-internal. Fixes SF bug # 580631
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r--Misc/python-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index e327ad9..5e34604 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -2772,9 +2772,9 @@ A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores."
(list
(read-shell-command "Run pychecker like this: "
default
- py-pychecker-history))))
+ 'py-pychecker-history))))
(save-some-buffers (not py-ask-about-save) nil)
- (compile command))
+ (compile-internal command "No more errors"))