emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/process.c


From: Noah Friedman
Subject: [Emacs-diffs] Changes to emacs/src/process.c
Date: Fri, 28 May 2004 22:44:33 -0400

Index: emacs/src/process.c
diff -c emacs/src/process.c:1.429 emacs/src/process.c:1.430
*** emacs/src/process.c:1.429   Tue May 25 11:17:43 2004
--- emacs/src/process.c Fri May 28 21:58:31 2004
***************
*** 774,780 ****
        XSETINT (XPROCESS (process)->tick, ++process_tick);
        status_notify ();
      }
!   remove_process (process);
    return Qnil;
  }
  
--- 774,791 ----
        XSETINT (XPROCESS (process)->tick, ++process_tick);
        status_notify ();
      }
!   /* Do not call remove_process here; either status_notify has already done
!      it, or will do so the next time emacs polls for input.  Thus network
!      processes are not immediately removed, and their sentinel will be
!      called.
! 
!      Since Fdelete_process is called by kill_buffer_processes, this also
!      means that a network process sentinel will run after the buffer is
!      dead, which would not be the case if status_notify() were called
!      unconditionally here.  This way process sentinels observe consistent
!      behavior with regard to buffer-live-p.
!   */
!   /* remove_process (process); */
    return Qnil;
  }
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]