aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2007-09-10 21:25:32 +0000
committerDan Nicolaescu2007-09-10 21:25:32 +0000
commit47cc881946f519bac2ecaf310c88c6fb7de6c505 (patch)
tree0fe88f709686dfca341a0ce64e8fdaa8c80ddcbf /src
parent9cab96b06b2a7093d630a78f7f7d23c1f3965fe3 (diff)
downloademacs-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')
-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 6aa1939be51..c1a03ed3e85 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12007-09-10 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * xterm.c (x_create_terminal): Add comment.
4
5 * term.c (clear_tty_hooks, set_tty_hooks): Add comments.
6
12007-09-10 Richard Stallman <rms@gnu.org> 72007-09-10 Richard Stallman <rms@gnu.org>
2 8
3 * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. 9 * 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)
3039} 3039}
3040 3040
3041 3041
3042/* Reset the hooks in TERMINAL. */
3042 3043
3043static void 3044static void
3044clear_tty_hooks (struct terminal *terminal) 3045clear_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
3079static void 3082static void
3080set_tty_hooks (struct terminal *terminal) 3083set_tty_hooks (struct terminal *terminal)
3081{ 3084{
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)
11338 UNBLOCK_INPUT; 11338 UNBLOCK_INPUT;
11339} 11339}
11340 11340
11341/* Create a struct terminal, initialize it with the X11 specific
11342 functions and make DISPLAY->TERMINAL point to it. */
11341 11343
11342static struct terminal * 11344static struct terminal *
11343x_create_terminal (struct x_display_info *dpyinfo) 11345x_create_terminal (struct x_display_info *dpyinfo)