changeset 7583:7bfbe20f7686

(Fset_face_attribute_internal): Always return valid data.
author Richard M. Stallman <rms@gnu.org>
date Fri, 20 May 1994 05:32:26 +0000
parents 454c279b6d18
children 72d8287c8b16
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Fri May 20 05:29:50 1994 +0000
+++ b/src/xfaces.c	Fri May 20 05:32:26 1994 +0000
@@ -975,7 +975,7 @@
     error ("Face id out of range");
 
   if (! FRAME_X_P (f))
-    return;
+    return Qnil;
 
   ensure_face_ready (f, id);
   face = FRAME_PARAM_FACES (f) [XFASTINT (face_id)];