[Python-checkins] python/dist/src/Misc python-mode.el,4.22,4.23

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Tue, 16 Jul 2002 08:56:31 -0700


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

Modified Files:
	python-mode.el 
Log Message:
(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



Index: python-mode.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python-mode.el,v
retrieving revision 4.22
retrieving revision 4.23
diff -C2 -d -r4.22 -r4.23
*** python-mode.el	23 May 2002 19:42:16 -0000	4.22
--- python-mode.el	16 Jul 2002 15:56:28 -0000	4.23
***************
*** 2773,2779 ****
        (read-shell-command "Run pychecker like this: "
                            default
!                           py-pychecker-history))))
    (save-some-buffers (not py-ask-about-save) nil)
!   (compile command))
  
  
--- 2773,2779 ----
        (read-shell-command "Run pychecker like this: "
                            default
!                           'py-pychecker-history))))
    (save-some-buffers (not py-ask-about-save) nil)
!   (compile-internal command "No more errors"))