From 47cc881946f519bac2ecaf310c88c6fb7de6c505 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 10 Sep 2007 21:25:32 +0000 Subject: [PATCH] * xterm.c (x_create_terminal): Add comment. * term.c (clear_tty_hooks, set_tty_hooks): Add comments. --- src/ChangeLog | 6 ++++++ src/term.c | 3 +++ src/xterm.c | 2 ++ 3 files changed, 11 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 6aa1939be51..c1a03ed3e85 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2007-09-10 Dan Nicolaescu + + * xterm.c (x_create_terminal): Add comment. + + * term.c (clear_tty_hooks, set_tty_hooks): Add comments. + 2007-09-10 Richard Stallman * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. 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) } +/* Reset the hooks in TERMINAL. */ static void clear_tty_hooks (struct terminal *terminal) @@ -3076,6 +3077,8 @@ clear_tty_hooks (struct terminal *terminal) terminal->delete_terminal_hook = &delete_tty; } +/* Initialize hooks in TERMINAL with the values needed for a tty. */ + static void set_tty_hooks (struct terminal *terminal) { diff --git a/src/xterm.c b/src/xterm.c index af35fbe8799..9e85967ba42 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11338,6 +11338,8 @@ x_delete_terminal (struct terminal *terminal) UNBLOCK_INPUT; } +/* Create a struct terminal, initialize it with the X11 specific + functions and make DISPLAY->TERMINAL point to it. */ static struct terminal * x_create_terminal (struct x_display_info *dpyinfo) -- 2.39.5