From: Barry Warsaw Date: Wed, 17 Jul 2002 21:25:43 +0000 (+0000) Subject: (py-pychecker-run): Use the last pychecker invocation as the default X-Git-Tag: v2.3c1~4961 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f31ff27c57c4233a6ecde48e58322c3e3fc128f9;p=python (py-pychecker-run): Use the last pychecker invocation as the default contents of the next command. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 50576cb557..61d7ef4629 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -2774,7 +2774,9 @@ A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores." (list (read-shell-command "Run pychecker like this: " - default + (if py-pychecker-history + (car py-pychecker-history) + default) 'py-pychecker-history)))) (save-some-buffers (not py-ask-about-save) nil) (compile-internal command "No more errors"))