(py-pychecker-run): Use the last pychecker invocation as the default

contents of the next command.
This commit is contained in:
Barry Warsaw 2002-07-17 21:25:43 +00:00
parent f0b095d804
commit f31ff27c57
1 changed files with 3 additions and 1 deletions

View File

@ -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"))