[Python-checkins] python/dist/src/Misc python-mode.el,4.25,4.26

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Wed, 17 Jul 2002 14:25:46 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv303

Modified Files:
	python-mode.el 
Log Message:
(py-pychecker-run): Use the last pychecker invocation as the default
contents of the next command.


Index: python-mode.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python-mode.el,v
retrieving revision 4.25
retrieving revision 4.26
diff -C2 -d -r4.25 -r4.26
*** python-mode.el	17 Jul 2002 13:45:00 -0000	4.25
--- python-mode.el	17 Jul 2002 21:25:43 -0000	4.26
***************
*** 2775,2779 ****
       (list
        (read-shell-command "Run pychecker like this: "
!                           default
                            'py-pychecker-history))))
    (save-some-buffers (not py-ask-about-save) nil)
--- 2775,2781 ----
       (list
        (read-shell-command "Run pychecker like this: "
!                           (if py-pychecker-history
! 			      (car py-pychecker-history)
! 			    default)
                            'py-pychecker-history))))
    (save-some-buffers (not py-ask-about-save) nil)