Mercurial > emacs
comparison src/frame.c @ 63643:844f9903e3f9
(Fmodify_frame_parameters):
Call frame-set-background-mode after changing the background color
on non-window non-dos branch.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 21 Jun 2005 16:14:51 +0000 |
parents | 1ba4135e8efa |
children | e7e58f0947fe bdcbdec78dd3 |
comparison
equal
deleted
inserted
replaced
63642:cb0d171c8273 | 63643:844f9903e3f9 |
---|---|
2311 for (i--; i >= 0; i--) | 2311 for (i--; i >= 0; i--) |
2312 { | 2312 { |
2313 prop = parms[i]; | 2313 prop = parms[i]; |
2314 val = values[i]; | 2314 val = values[i]; |
2315 store_frame_param (f, prop, val); | 2315 store_frame_param (f, prop, val); |
2316 | |
2317 /* Changing the background color might change the background | |
2318 mode, so that we have to load new defface specs. | |
2319 Call frame-set-background-mode to do that. */ | |
2320 if (EQ (prop, Qbackground_color)) | |
2321 call1 (Qframe_set_background_mode, frame); | |
2316 } | 2322 } |
2317 } | 2323 } |
2318 | 2324 |
2319 return unbind_to (count, Qnil); | 2325 return unbind_to (count, Qnil); |
2320 } | 2326 } |