* src/process.c (Fsignal_process): Simplify.

This commit is contained in:
Paul Eggert 2018-03-23 13:14:06 -07:00
parent f92c6dd6cd
commit 901f13122f

View file

@ -6842,12 +6842,7 @@ SIGCODE may be an integer, or a symbol whose name is a signal name. */)
{
Lisp_Object tem = Fget_process (process);
if (NILP (tem))
{
Lisp_Object process_number
= string_to_number (SSDATA (process), 10, true);
if (NUMBERP (process_number))
tem = process_number;
}
tem = string_to_number (SSDATA (process), 10, true);
process = tem;
}
else if (!NUMBERP (process))