]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/process.c (Fsignal_process): Simplify.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Mar 2018 20:14:06 +0000 (13:14 -0700)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:58 +0000 (14:17 +0800)
src/process.c

index 11d914aab240a86304846abad7d50bdd9e96563a..2aaa238f60c677da09f17b0130dfb30ae603ba73 100644 (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))