diff options
| author | Eli Zaretskii | 2006-12-09 22:00:18 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-12-09 22:00:18 +0000 |
| commit | 648f6edf03f7b89fdc70c8ee0e5090a221015dd4 (patch) | |
| tree | e9a91d6047b402d93fdea3af4ee243492fce2fa4 /src/process.c | |
| parent | e4208ff7b5e18687dcaafeb4b6bb173a28cfbfbe (diff) | |
| download | emacs-648f6edf03f7b89fdc70c8ee0e5090a221015dd4.tar.gz emacs-648f6edf03f7b89fdc70c8ee0e5090a221015dd4.zip | |
(Fsignal_process): Doc fix. Use XFLOAT_DATA to extract the process ID from
a Lisp float.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 0ea27ded7df..82e88ffc296 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -6102,7 +6102,7 @@ If PROCESS is a network process, resume handling of incoming traffic. */) | |||
| 6102 | DEFUN ("signal-process", Fsignal_process, Ssignal_process, | 6102 | DEFUN ("signal-process", Fsignal_process, Ssignal_process, |
| 6103 | 2, 2, "sProcess (name or number): \nnSignal code: ", | 6103 | 2, 2, "sProcess (name or number): \nnSignal code: ", |
| 6104 | doc: /* Send PROCESS the signal with code SIGCODE. | 6104 | doc: /* Send PROCESS the signal with code SIGCODE. |
| 6105 | PROCESS may also be an integer specifying the process id of the | 6105 | PROCESS may also be a number specifying the process id of the |
| 6106 | process to signal; in this case, the process need not be a child of | 6106 | process to signal; in this case, the process need not be a child of |
| 6107 | this Emacs. | 6107 | this Emacs. |
| 6108 | SIGCODE may be an integer, or a symbol whose name is a signal name. */) | 6108 | SIGCODE may be an integer, or a symbol whose name is a signal name. */) |
| @@ -6119,7 +6119,7 @@ SIGCODE may be an integer, or a symbol whose name is a signal name. */) | |||
| 6119 | 6119 | ||
| 6120 | if (FLOATP (process)) | 6120 | if (FLOATP (process)) |
| 6121 | { | 6121 | { |
| 6122 | pid = (pid_t) XFLOAT (process); | 6122 | pid = (pid_t) XFLOAT_DATA (process); |
| 6123 | goto got_it; | 6123 | goto got_it; |
| 6124 | } | 6124 | } |
| 6125 | 6125 | ||