diff options
| -rw-r--r-- | src/xfaces.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index ac1370003df..88f5f3415b0 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2678,9 +2678,10 @@ FRAME 0 means change the face on all frames, and change the default | |||
| 2678 | { | 2678 | { |
| 2679 | if (NILP (frame)) | 2679 | if (NILP (frame)) |
| 2680 | frame = selected_frame; | 2680 | frame = selected_frame; |
| 2681 | f = XFRAME (frame); | ||
| 2682 | 2681 | ||
| 2683 | CHECK_LIVE_FRAME (frame); | 2682 | CHECK_LIVE_FRAME (frame); |
| 2683 | f = XFRAME (frame); | ||
| 2684 | |||
| 2684 | lface = lface_from_face_name (f, face, false); | 2685 | lface = lface_from_face_name (f, face, false); |
| 2685 | 2686 | ||
| 2686 | /* If a frame-local face doesn't exist yet, create one. */ | 2687 | /* If a frame-local face doesn't exist yet, create one. */ |