From 19b5e79bd5320c098905265b7374cc3774a2b2df Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 2 Oct 2007 21:07:47 +0000 Subject: [PATCH] (Fframe_parameters): Minor simplification. --- src/frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frame.c b/src/frame.c index aa7f4ad8d76..702596e2b98 100644 --- a/src/frame.c +++ b/src/frame.c @@ -2391,7 +2391,7 @@ If FRAME is omitted, return information on the currently selected frame. */) unspecified and reversed, take the frame's background pixel for foreground and vice versa. */ elt = Fassq (Qforeground_color, alist); - if (!NILP (elt) && CONSP (elt) && STRINGP (XCDR (elt))) + if (CONSP (elt) && STRINGP (XCDR (elt))) { if (strncmp (SDATA (XCDR (elt)), unspecified_bg, @@ -2405,7 +2405,7 @@ If FRAME is omitted, return information on the currently selected frame. */) else store_in_alist (&alist, Qforeground_color, tty_color_name (f, fg)); elt = Fassq (Qbackground_color, alist); - if (!NILP (elt) && CONSP (elt) && STRINGP (XCDR (elt))) + if (CONSP (elt) && STRINGP (XCDR (elt))) { if (strncmp (SDATA (XCDR (elt)), unspecified_fg, -- 2.39.5