aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-26 12:36:33 +0000
committerGerd Moellmann2000-09-26 12:36:33 +0000
commitc301be266a06abdacc9c8403f180855cccc3b738 (patch)
tree86bd8866fedcfa0696c2aa96066a8cd52c9bea52 /src
parent5c20a7bf676a6e74f61909785a0500c53bf36210 (diff)
downloademacs-c301be266a06abdacc9c8403f180855cccc3b738.tar.gz
emacs-c301be266a06abdacc9c8403f180855cccc3b738.zip
(x_decode_color): Don't return a Lisp_Object.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 999c60d3143..4355bdb5010 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1302,8 +1302,9 @@ x_decode_color (f, color_name, mono_color)
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