src/frame.c (Fframe_parameter): Don't replace a non-nil value of
foreground-color or background-color parameters with a nil value.
+2015-02-08 Eli Zaretskii <eliz@gnu.org>
+
+ * frame.c (Fframe_parameter): Don't replace a non-nil value of
+ foreground-color or background-color parameters with a nil value.
+ (Bug#19802)
+
2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
* data.c (Findirect_function): Like `symbol-function', don't signal an
important when param_alist's notion of colors is
"unspecified". We need to do the same here. */
if (STRINGP (value) && !FRAME_WINDOW_P (f))
- value = frame_unspecified_color (f, value);
+ {
+ Lisp_Object tem = frame_unspecified_color (f, value);
+
+ if (!NILP (tem))
+ value = tem;
+ }
}
else
value = Fcdr (Fassq (parameter, Fframe_parameters (frame)));