emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c0c5f43f49 3/3: Clean up fix_command code slightly


From: Lars Ingebrigtsen
Subject: master c0c5f43f49 3/3: Clean up fix_command code slightly
Date: Mon, 8 Aug 2022 11:47:14 -0400 (EDT)

branch: master
commit c0c5f43f49d429ec63ea73df1f1886f84596cb0a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Clean up fix_command code slightly
    
    * src/callint.c (fix_command): Remove superfluous check.
---
 src/callint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/callint.c b/src/callint.c
index e670c8f638..c974967459 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -176,7 +176,7 @@ fix_command (Lisp_Object function, Lisp_Object values)
 
   Lisp_Object reps = Fget (function, Qinteractive_args);
 
-  if (!NILP (reps) && CONSP (reps))
+  if (CONSP (reps))
     {
       int i = 0;
       Lisp_Object vals = values;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]