diff options
| author | Karl Heuer | 1994-04-08 05:58:12 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-08 05:58:12 +0000 |
| commit | d72534bad1b427571acc6ab4bfd9fc3a4a8202ae (patch) | |
| tree | 2ce4aa996360b4e094b5b9c5cb309e8bd61d5274 /src/process.c | |
| parent | 026b8c1e031fcfd5a6158e53a40f942dd3e6753b (diff) | |
| download | emacs-d72534bad1b427571acc6ab4bfd9fc3a4a8202ae.tar.gz emacs-d72534bad1b427571acc6ab4bfd9fc3a4a8202ae.zip | |
(read_process_output): If buffer changes, record that fact.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 67882d5abea..d81b7c9fbab 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2134,8 +2134,10 @@ read_process_output (proc, channel) | |||
| 2134 | it up. */ | 2134 | it up. */ |
| 2135 | int count = specpdl_ptr - specpdl; | 2135 | int count = specpdl_ptr - specpdl; |
| 2136 | Lisp_Object odeactivate; | 2136 | Lisp_Object odeactivate; |
| 2137 | Lisp_Object obuffer; | ||
| 2137 | 2138 | ||
| 2138 | odeactivate = Vdeactivate_mark; | 2139 | odeactivate = Vdeactivate_mark; |
| 2140 | obuffer = Fcurrent_buffer (); | ||
| 2139 | 2141 | ||
| 2140 | specbind (Qinhibit_quit, Qt); | 2142 | specbind (Qinhibit_quit, Qt); |
| 2141 | call2 (outstream, proc, make_string (chars, nchars)); | 2143 | call2 (outstream, proc, make_string (chars, nchars)); |
| @@ -2143,6 +2145,9 @@ read_process_output (proc, channel) | |||
| 2143 | /* Handling the process output should not deactivate the mark. */ | 2145 | /* Handling the process output should not deactivate the mark. */ |
| 2144 | Vdeactivate_mark = odeactivate; | 2146 | Vdeactivate_mark = odeactivate; |
| 2145 | 2147 | ||
| 2148 | if (! EQ (Fcurrent_buffer (), obuffer)) | ||
| 2149 | record_asynch_buffer_change (); | ||
| 2150 | |||
| 2146 | #ifdef VMS | 2151 | #ifdef VMS |
| 2147 | start_vms_process_read (vs); | 2152 | start_vms_process_read (vs); |
| 2148 | #endif | 2153 | #endif |