aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2007-09-10 21:25:32 +0000
committerDan Nicolaescu <[email protected]>2007-09-10 21:25:32 +0000
commit47cc881946f519bac2ecaf310c88c6fb7de6c505 (patch)
tree0fe88f709686dfca341a0ce64e8fdaa8c80ddcbf /src
parent9cab96b06b2a7093d630a78f7f7d23c1f3965fe3 (diff)
* xterm.c (x_create_terminal): Add comment.
* term.c (clear_tty_hooks, set_tty_hooks): Add comments.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/term.c3
-rw-r--r--src/xterm.c2
3 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6aa1939be5..c1a03ed3e8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-10 Dan Nicolaescu <[email protected]>
+
+ * xterm.c (x_create_terminal): Add comment.
+
+ * term.c (clear_tty_hooks, set_tty_hooks): Add comments.
+
2007-09-10 Richard Stallman <[email protected]>
* xterm.c (x_term_init): Give error if can't open DISPLAY_NAME.
diff --git a/src/term.c b/src/term.c
index 2ed6435c34..144b14a1e3 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 af35fbe879..9e85967ba4 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)