diff options
| author | Chong Yidong | 2007-02-06 22:43:31 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-02-06 22:43:31 +0000 |
| commit | baa15c0bc1b4b8a0d23c0580ac42f6b5cbe853cf (patch) | |
| tree | d393e300a66645c6e525e04b3aa7469fd554aabf /src | |
| parent | c9008e63a86423d3ce31021baefe56efa79e530f (diff) | |
| download | emacs-baa15c0bc1b4b8a0d23c0580ac42f6b5cbe853cf.tar.gz emacs-baa15c0bc1b4b8a0d23c0580ac42f6b5cbe853cf.zip | |
(Fmodify_frame_parameters): Don't bind
Qinhibit_default_face_x_resources, which has no effect.
(Qinhibit_default_face_x_resources): Symbol deleted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/frame.c b/src/frame.c index c4ba9af176b..c7ec3dda3b4 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -71,7 +71,6 @@ Lisp_Object Qx, Qw32, Qmac, Qpc; | |||
| 71 | Lisp_Object Qvisible; | 71 | Lisp_Object Qvisible; |
| 72 | Lisp_Object Qdisplay_type; | 72 | Lisp_Object Qdisplay_type; |
| 73 | Lisp_Object Qbackground_mode; | 73 | Lisp_Object Qbackground_mode; |
| 74 | Lisp_Object Qinhibit_default_face_x_resources; | ||
| 75 | 74 | ||
| 76 | Lisp_Object Qx_frame_parameter; | 75 | Lisp_Object Qx_frame_parameter; |
| 77 | Lisp_Object Qx_resource_name; | 76 | Lisp_Object Qx_resource_name; |
| @@ -2269,15 +2268,6 @@ enabled such bindings for that variable with `make-variable-frame-local'. */) | |||
| 2269 | { | 2268 | { |
| 2270 | FRAME_PTR f; | 2269 | FRAME_PTR f; |
| 2271 | register Lisp_Object tail, prop, val; | 2270 | register Lisp_Object tail, prop, val; |
| 2272 | int count = SPECPDL_INDEX (); | ||
| 2273 | |||
| 2274 | /* Bind this to t to inhibit initialization of the default face from | ||
| 2275 | X resources in face-set-after-frame-default. If we don't inhibit | ||
| 2276 | this, modifying the `font' frame parameter, for example, while | ||
| 2277 | there is a `default.attributeFont' X resource, won't work, | ||
| 2278 | because `default's font is reset to the value of the X resource | ||
| 2279 | and that resets the `font' frame parameter. */ | ||
| 2280 | specbind (Qinhibit_default_face_x_resources, Qt); | ||
| 2281 | 2271 | ||
| 2282 | if (EQ (frame, Qnil)) | 2272 | if (EQ (frame, Qnil)) |
| 2283 | frame = selected_frame; | 2273 | frame = selected_frame; |
| @@ -2331,8 +2321,6 @@ enabled such bindings for that variable with `make-variable-frame-local'. */) | |||
| 2331 | call1 (Qframe_set_background_mode, frame); | 2321 | call1 (Qframe_set_background_mode, frame); |
| 2332 | } | 2322 | } |
| 2333 | } | 2323 | } |
| 2334 | |||
| 2335 | return unbind_to (count, Qnil); | ||
| 2336 | } | 2324 | } |
| 2337 | 2325 | ||
| 2338 | DEFUN ("frame-char-height", Fframe_char_height, Sframe_char_height, | 2326 | DEFUN ("frame-char-height", Fframe_char_height, Sframe_char_height, |
| @@ -4102,10 +4090,6 @@ Setting this variable does not affect existing frames, only new ones. */); | |||
| 4102 | Vdefault_frame_scroll_bars = Qnil; | 4090 | Vdefault_frame_scroll_bars = Qnil; |
| 4103 | #endif | 4091 | #endif |
| 4104 | 4092 | ||
| 4105 | Qinhibit_default_face_x_resources | ||
| 4106 | = intern ("inhibit-default-face-x-resources"); | ||
| 4107 | staticpro (&Qinhibit_default_face_x_resources); | ||
| 4108 | |||
| 4109 | DEFVAR_LISP ("terminal-frame", &Vterminal_frame, | 4093 | DEFVAR_LISP ("terminal-frame", &Vterminal_frame, |
| 4110 | doc: /* The initial frame-object, which represents Emacs's stdout. */); | 4094 | doc: /* The initial frame-object, which represents Emacs's stdout. */); |
| 4111 | 4095 | ||