comparison src/xfns.c @ 31902:f526f6f002d7

(x_decode_color): Don't return a Lisp_Object.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 26 Sep 2000 12:36:33 +0000
parents b3295c7e7a60
children 9c779861abff
comparison
equal deleted inserted replaced
31901:4e2853ad5d2d 31902:f526f6f002d7
1300 /* x_defined_color is responsible for coping with failures 1300 /* x_defined_color is responsible for coping with failures
1301 by looking for a near-miss. */ 1301 by looking for a near-miss. */
1302 if (x_defined_color (f, XSTRING (color_name)->data, &cdef, 1)) 1302 if (x_defined_color (f, XSTRING (color_name)->data, &cdef, 1))
1303 return cdef.pixel; 1303 return cdef.pixel;
1304 1304
1305 return Fsignal (Qerror, Fcons (build_string ("Undefined color"), 1305 Fsignal (Qerror, Fcons (build_string ("Undefined color"),
1306 Fcons (color_name, Qnil))); 1306 Fcons (color_name, Qnil)));
1307 return 0;
1307 } 1308 }
1308 1309
1309 1310
1310 1311
1311 /* Change the `line-spacing' frame parameter of frame F. OLD_VALUE is 1312 /* Change the `line-spacing' frame parameter of frame F. OLD_VALUE is