diff options
| author | Juanma Barranquero | 2002-07-11 14:18:02 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-07-11 14:18:02 +0000 |
| commit | aed13378308fae471bf2c11870a456e457166c31 (patch) | |
| tree | 89ee2f5aaffc88a04531e85b1c1da979f17483f2 /src/process.c | |
| parent | e20b31732ad01d8de7605ea740525dedc3dbdb90 (diff) | |
| download | emacs-aed13378308fae471bf2c11870a456e457166c31.tar.gz emacs-aed13378308fae471bf2c11870a456e457166c31.zip | |
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/process.c b/src/process.c index c5cbf3b68eb..7c3b1779496 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1292,7 +1292,7 @@ usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */) | |||
| 1292 | register unsigned char **new_argv; | 1292 | register unsigned char **new_argv; |
| 1293 | #endif | 1293 | #endif |
| 1294 | register int i; | 1294 | register int i; |
| 1295 | int count = specpdl_ptr - specpdl; | 1295 | int count = SPECPDL_INDEX (); |
| 1296 | 1296 | ||
| 1297 | buffer = args[1]; | 1297 | buffer = args[1]; |
| 1298 | if (!NILP (buffer)) | 1298 | if (!NILP (buffer)) |
| @@ -2552,7 +2552,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 2552 | int s = -1, outch, inch; | 2552 | int s = -1, outch, inch; |
| 2553 | struct gcpro gcpro1; | 2553 | struct gcpro gcpro1; |
| 2554 | int retry = 0; | 2554 | int retry = 0; |
| 2555 | int count = specpdl_ptr - specpdl; | 2555 | int count = SPECPDL_INDEX (); |
| 2556 | int count1; | 2556 | int count1; |
| 2557 | Lisp_Object QCaddress; /* one of QClocal or QCremote */ | 2557 | Lisp_Object QCaddress; /* one of QClocal or QCremote */ |
| 2558 | Lisp_Object tem; | 2558 | Lisp_Object tem; |
| @@ -2843,7 +2843,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 2843 | } | 2843 | } |
| 2844 | 2844 | ||
| 2845 | /* Do this in case we never enter the for-loop below. */ | 2845 | /* Do this in case we never enter the for-loop below. */ |
| 2846 | count1 = specpdl_ptr - specpdl; | 2846 | count1 = SPECPDL_INDEX (); |
| 2847 | s = -1; | 2847 | s = -1; |
| 2848 | 2848 | ||
| 2849 | for (lres = res; lres; lres = lres->ai_next) | 2849 | for (lres = res; lres; lres = lres->ai_next) |
| @@ -4348,7 +4348,7 @@ read_process_output (proc, channel) | |||
| 4348 | /* We inhibit quit here instead of just catching it so that | 4348 | /* We inhibit quit here instead of just catching it so that |
| 4349 | hitting ^G when a filter happens to be running won't screw | 4349 | hitting ^G when a filter happens to be running won't screw |
| 4350 | it up. */ | 4350 | it up. */ |
| 4351 | int count = specpdl_ptr - specpdl; | 4351 | int count = SPECPDL_INDEX (); |
| 4352 | Lisp_Object odeactivate; | 4352 | Lisp_Object odeactivate; |
| 4353 | Lisp_Object obuffer, okeymap; | 4353 | Lisp_Object obuffer, okeymap; |
| 4354 | Lisp_Object text; | 4354 | Lisp_Object text; |
| @@ -5734,7 +5734,7 @@ exec_sentinel (proc, reason) | |||
| 5734 | { | 5734 | { |
| 5735 | Lisp_Object sentinel, obuffer, odeactivate, okeymap; | 5735 | Lisp_Object sentinel, obuffer, odeactivate, okeymap; |
| 5736 | register struct Lisp_Process *p = XPROCESS (proc); | 5736 | register struct Lisp_Process *p = XPROCESS (proc); |
| 5737 | int count = specpdl_ptr - specpdl; | 5737 | int count = SPECPDL_INDEX (); |
| 5738 | int outer_running_asynch_code = running_asynch_code; | 5738 | int outer_running_asynch_code = running_asynch_code; |
| 5739 | int waiting = waiting_for_user_input_p; | 5739 | int waiting = waiting_for_user_input_p; |
| 5740 | 5740 | ||