From: Eli Zaretskii Date: Sat, 9 Dec 2006 22:00:18 +0000 (+0000) Subject: (Fsignal_process): Doc fix. Use XFLOAT_DATA to extract the process ID from X-Git-Tag: emacs-pretest-22.0.92~196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=648f6edf03f7b89fdc70c8ee0e5090a221015dd4;p=emacs.git (Fsignal_process): Doc fix. Use XFLOAT_DATA to extract the process ID from a Lisp float. --- 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. */) DEFUN ("signal-process", Fsignal_process, Ssignal_process, 2, 2, "sProcess (name or number): \nnSignal code: ", doc: /* Send PROCESS the signal with code SIGCODE. -PROCESS may also be an integer specifying the process id of the +PROCESS may also be a number specifying the process id of the process to signal; in this case, the process need not be a child of this Emacs. 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. */) if (FLOATP (process)) { - pid = (pid_t) XFLOAT (process); + pid = (pid_t) XFLOAT_DATA (process); goto got_it; }