aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-05-20 05:32:26 +0000
committerRichard M. Stallman <[email protected]>1994-05-20 05:32:26 +0000
commitb839cea074f1250298981182daf19c4b70a1b25e (patch)
tree6eec36b6ca1112559c6d07c3c7e1570014e6bc6b /src/xfaces.c
parenteb769fd77c99b14e434d15a230562f19bfe3a105 (diff)
(Fset_face_attribute_internal): Always return valid data.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 2484440f0d..b2e2cc2d0d 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -975,7 +975,7 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
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)];