diff options
| author | Richard M. Stallman | 1994-05-20 05:32:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-20 05:32:26 +0000 |
| commit | b839cea074f1250298981182daf19c4b70a1b25e (patch) | |
| tree | 6eec36b6ca1112559c6d07c3c7e1570014e6bc6b /src | |
| parent | eb769fd77c99b14e434d15a230562f19bfe3a105 (diff) | |
| download | emacs-b839cea074f1250298981182daf19c4b70a1b25e.tar.gz emacs-b839cea074f1250298981182daf19c4b70a1b25e.zip | |
(Fset_face_attribute_internal): Always return valid data.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 2484440f0d9..b2e2cc2d0d9 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -975,7 +975,7 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal, | |||
| 975 | error ("Face id out of range"); | 975 | error ("Face id out of range"); |
| 976 | 976 | ||
| 977 | if (! FRAME_X_P (f)) | 977 | if (! FRAME_X_P (f)) |
| 978 | return; | 978 | return Qnil; |
| 979 | 979 | ||
| 980 | ensure_face_ready (f, id); | 980 | ensure_face_ready (f, id); |
| 981 | face = FRAME_PARAM_FACES (f) [XFASTINT (face_id)]; | 981 | face = FRAME_PARAM_FACES (f) [XFASTINT (face_id)]; |