diff options
| author | Stefan Monnier | 2007-10-02 21:07:47 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-10-02 21:07:47 +0000 |
| commit | 19b5e79bd5320c098905265b7374cc3774a2b2df (patch) | |
| tree | d22b927a9b2e7b5f5b90a8f0851d0f23bb8c3806 /src | |
| parent | 86a56ef3739fd7e4f1abd0fc122fa6348b73bc36 (diff) | |
| download | emacs-19b5e79bd5320c098905265b7374cc3774a2b2df.tar.gz emacs-19b5e79bd5320c098905265b7374cc3774a2b2df.zip | |
(Fframe_parameters): Minor simplification.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index aa7f4ad8d76..702596e2b98 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -2391,7 +2391,7 @@ If FRAME is omitted, return information on the currently selected frame. */) | |||
| 2391 | unspecified and reversed, take the frame's background pixel | 2391 | unspecified and reversed, take the frame's background pixel |
| 2392 | for foreground and vice versa. */ | 2392 | for foreground and vice versa. */ |
| 2393 | elt = Fassq (Qforeground_color, alist); | 2393 | elt = Fassq (Qforeground_color, alist); |
| 2394 | if (!NILP (elt) && CONSP (elt) && STRINGP (XCDR (elt))) | 2394 | if (CONSP (elt) && STRINGP (XCDR (elt))) |
| 2395 | { | 2395 | { |
| 2396 | if (strncmp (SDATA (XCDR (elt)), | 2396 | if (strncmp (SDATA (XCDR (elt)), |
| 2397 | unspecified_bg, | 2397 | unspecified_bg, |
| @@ -2405,7 +2405,7 @@ If FRAME is omitted, return information on the currently selected frame. */) | |||
| 2405 | else | 2405 | else |
| 2406 | store_in_alist (&alist, Qforeground_color, tty_color_name (f, fg)); | 2406 | store_in_alist (&alist, Qforeground_color, tty_color_name (f, fg)); |
| 2407 | elt = Fassq (Qbackground_color, alist); | 2407 | elt = Fassq (Qbackground_color, alist); |
| 2408 | if (!NILP (elt) && CONSP (elt) && STRINGP (XCDR (elt))) | 2408 | if (CONSP (elt) && STRINGP (XCDR (elt))) |
| 2409 | { | 2409 | { |
| 2410 | if (strncmp (SDATA (XCDR (elt)), | 2410 | if (strncmp (SDATA (XCDR (elt)), |
| 2411 | unspecified_fg, | 2411 | unspecified_fg, |