From: Dan Nicolaescu Date: Mon, 10 Sep 2007 21:25:32 +0000 (+0000) Subject: * xterm.c (x_create_terminal): Add comment. X-Git-Tag: emacs-pretest-23.0.90~10976 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=47cc881946f519bac2ecaf310c88c6fb7de6c505;p=emacs.git * xterm.c (x_create_terminal): Add comment. * term.c (clear_tty_hooks, set_tty_hooks): Add comments. --- 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)