diff options
| author | Dan Nicolaescu | 2007-09-10 21:25:32 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-09-10 21:25:32 +0000 |
| commit | 47cc881946f519bac2ecaf310c88c6fb7de6c505 (patch) | |
| tree | 0fe88f709686dfca341a0ce64e8fdaa8c80ddcbf /src/term.c | |
| parent | 9cab96b06b2a7093d630a78f7f7d23c1f3965fe3 (diff) | |
| download | emacs-47cc881946f519bac2ecaf310c88c6fb7de6c505.tar.gz emacs-47cc881946f519bac2ecaf310c88c6fb7de6c505.zip | |
* xterm.c (x_create_terminal): Add comment.
* term.c (clear_tty_hooks, set_tty_hooks): Add comments.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 2ed6435c344..144b14a1e3f 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3039,6 +3039,7 @@ delete_tty_output (struct frame *f) | |||
| 3039 | } | 3039 | } |
| 3040 | 3040 | ||
| 3041 | 3041 | ||
| 3042 | /* Reset the hooks in TERMINAL. */ | ||
| 3042 | 3043 | ||
| 3043 | static void | 3044 | static void |
| 3044 | clear_tty_hooks (struct terminal *terminal) | 3045 | clear_tty_hooks (struct terminal *terminal) |
| @@ -3076,6 +3077,8 @@ clear_tty_hooks (struct terminal *terminal) | |||
| 3076 | terminal->delete_terminal_hook = &delete_tty; | 3077 | terminal->delete_terminal_hook = &delete_tty; |
| 3077 | } | 3078 | } |
| 3078 | 3079 | ||
| 3080 | /* Initialize hooks in TERMINAL with the values needed for a tty. */ | ||
| 3081 | |||
| 3079 | static void | 3082 | static void |
| 3080 | set_tty_hooks (struct terminal *terminal) | 3083 | set_tty_hooks (struct terminal *terminal) |
| 3081 | { | 3084 | { |