diff options
| author | Eli Zaretskii | 2009-06-28 19:07:16 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-06-28 19:07:16 +0000 |
| commit | 89ba96f4234f523ff40fda977fd461b2df442e13 (patch) | |
| tree | 5f3f02ea10e77ab3113b962726459c5c9342087f /src | |
| parent | a3a8b0029ae828d1079140db91798783ea54632e (diff) | |
| download | emacs-89ba96f4234f523ff40fda977fd461b2df442e13.tar.gz emacs-89ba96f4234f523ff40fda977fd461b2df442e13.zip | |
(create_tty_output) [MSDOS]: #ifdef away.
(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/term.c | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2c25979d9c5..c6a10fc978b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-06-28 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * term.c (create_tty_output) [MSDOS]: #ifdef away. | ||
| 4 | (tty_free_frame_resources) [MSDOS]: Add a DOS-specific version. | ||
| 5 | |||
| 1 | 2009-06-28 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-06-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * xterm.c (x_update_window_begin, x_new_focus_frame) | 8 | * xterm.c (x_update_window_begin, x_new_focus_frame) |
diff --git a/src/term.c b/src/term.c index 3f97a74cbd6..fc778012e23 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3178,6 +3178,7 @@ DEFUN ("gpm-mouse-stop", Fgpm_mouse_stop, Sgpm_mouse_stop, | |||
| 3178 | #endif /* HAVE_GPM */ | 3178 | #endif /* HAVE_GPM */ |
| 3179 | 3179 | ||
| 3180 | 3180 | ||
| 3181 | #ifndef MSDOS | ||
| 3181 | /*********************************************************************** | 3182 | /*********************************************************************** |
| 3182 | Initialization | 3183 | Initialization |
| 3183 | ***********************************************************************/ | 3184 | ***********************************************************************/ |
| @@ -3215,6 +3216,20 @@ tty_free_frame_resources (struct frame *f) | |||
| 3215 | xfree (f->output_data.tty); | 3216 | xfree (f->output_data.tty); |
| 3216 | } | 3217 | } |
| 3217 | 3218 | ||
| 3219 | #else /* MSDOS */ | ||
| 3220 | |||
| 3221 | /* Delete frame F's face cache. */ | ||
| 3222 | |||
| 3223 | static void | ||
| 3224 | tty_free_frame_resources (struct frame *f) | ||
| 3225 | { | ||
| 3226 | if (! FRAME_TERMCAP_P (f) && ! FRAME_MSDOS_P (f)) | ||
| 3227 | abort (); | ||
| 3228 | |||
| 3229 | if (FRAME_FACE_CACHE (f)) | ||
| 3230 | free_frame_faces (f); | ||
| 3231 | } | ||
| 3232 | #endif /* MSDOS */ | ||
| 3218 | 3233 | ||
| 3219 | /* Reset the hooks in TERMINAL. */ | 3234 | /* Reset the hooks in TERMINAL. */ |
| 3220 | 3235 | ||