aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-08 14:25:08 -0700
committerDan Nicolaescu2010-07-08 14:25:08 -0700
commit5842a27bbfb7efa6872824e501bc7ec98b631553 (patch)
treed173899af9cbed9d90d94cfc710e6ecc06dd1f6b /src/term.c
parent71c44c04bb996abe77db8efd88255fde06532b10 (diff)
downloademacs-5842a27bbfb7efa6872824e501bc7ec98b631553.tar.gz
emacs-5842a27bbfb7efa6872824e501bc7ec98b631553.zip
Convert DEFUNs to standard C.
* src/alloc.c: Convert DEFUNs to standard C. * src/buffer.c: * src/bytecode.c: * src/callint.c: * src/callproc.c: * src/casefiddle.c: * src/casetab.c: * src/category.c: * src/character.c: * src/charset.c: * src/chartab.c: * src/cmds.c: * src/coding.c: * src/composite.c: * src/data.c: * src/dbusbind.c: * src/dired.c: * src/dispnew.c: * src/doc.c: * src/dosfns.c: * src/editfns.c: * src/emacs.c: * src/eval.c: * src/fileio.c: * src/filelock.c: * src/floatfns.c: * src/fns.c: * src/font.c: * src/fontset.c: * src/frame.c: * src/fringe.c: * src/image.c: * src/indent.c: * src/insdel.c: * src/keyboard.c: * src/keymap.c: * src/lread.c: * src/macros.c: * src/marker.c: * src/menu.c: * src/minibuf.c: * src/msdos.c: * src/nsfns.m: * src/nsmenu.m: * src/nsselect.m: * src/print.c: * src/process.c: * src/search.c: * src/sound.c: * src/syntax.c: * src/term.c: * src/terminal.c: * src/textprop.c: * src/undo.c: * src/w16select.c: * src/w32console.c: * src/w32fns.c: * src/w32font.c: * src/w32menu.c: * src/w32proc.c: * src/w32select.c: * src/window.c: * src/xdisp.c: * src/xfaces.c: * src/xfns.c: * src/xmenu.c: * src/xselect.c: * src/xsettings.c: * src/xsmfns.c: Likewise.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/term.c b/src/term.c
index ec30796bfff..53879e57e5b 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2133,8 +2133,7 @@ DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p,
2133TERMINAL can be a terminal object, a frame, or nil (meaning the 2133TERMINAL can be a terminal object, a frame, or nil (meaning the
2134selected frame's terminal). This function always returns nil if 2134selected frame's terminal). This function always returns nil if
2135TERMINAL does not refer to a text-only terminal. */) 2135TERMINAL does not refer to a text-only terminal. */)
2136 (terminal) 2136 (Lisp_Object terminal)
2137 Lisp_Object terminal;
2138{ 2137{
2139 struct terminal *t = get_tty_terminal (terminal, 0); 2138 struct terminal *t = get_tty_terminal (terminal, 0);
2140 if (!t) 2139 if (!t)
@@ -2151,8 +2150,7 @@ DEFUN ("tty-display-color-cells", Ftty_display_color_cells,
2151TERMINAL can be a terminal object, a frame, or nil (meaning the 2150TERMINAL can be a terminal object, a frame, or nil (meaning the
2152selected frame's terminal). This function always returns 0 if 2151selected frame's terminal). This function always returns 0 if
2153TERMINAL does not refer to a text-only terminal. */) 2152TERMINAL does not refer to a text-only terminal. */)
2154 (terminal) 2153 (Lisp_Object terminal)
2155 Lisp_Object terminal;
2156{ 2154{
2157 struct terminal *t = get_tty_terminal (terminal, 0); 2155 struct terminal *t = get_tty_terminal (terminal, 0);
2158 if (!t) 2156 if (!t)
@@ -2336,8 +2334,7 @@ Returns nil if TERMINAL is not on a tty device.
2336 2334
2337TERMINAL can be a terminal object, a frame, or nil (meaning the 2335TERMINAL can be a terminal object, a frame, or nil (meaning the
2338selected frame's terminal). */) 2336selected frame's terminal). */)
2339 (terminal) 2337 (Lisp_Object terminal)
2340 Lisp_Object terminal;
2341{ 2338{
2342 struct terminal *t = get_terminal (terminal, 1); 2339 struct terminal *t = get_terminal (terminal, 1);
2343 2340
@@ -2356,8 +2353,7 @@ DEFUN ("controlling-tty-p", Fcontrolling_tty_p, Scontrolling_tty_p, 0, 1, 0,
2356TERMINAL can be a terminal object, a frame, or nil (meaning the 2353TERMINAL can be a terminal object, a frame, or nil (meaning the
2357selected frame's terminal). This function always returns nil if 2354selected frame's terminal). This function always returns nil if
2358TERMINAL is not on a tty device. */) 2355TERMINAL is not on a tty device. */)
2359 (terminal) 2356 (Lisp_Object terminal)
2360 Lisp_Object terminal;
2361{ 2357{
2362 struct terminal *t = get_terminal (terminal, 1); 2358 struct terminal *t = get_terminal (terminal, 1);
2363 2359
@@ -2377,8 +2373,7 @@ no effect if used on a non-tty terminal.
2377TERMINAL can be a terminal object, a frame or nil (meaning the 2373TERMINAL can be a terminal object, a frame or nil (meaning the
2378selected frame's terminal). This function always returns nil if 2374selected frame's terminal). This function always returns nil if
2379TERMINAL does not refer to a text-only terminal. */) 2375TERMINAL does not refer to a text-only terminal. */)
2380 (terminal) 2376 (Lisp_Object terminal)
2381 Lisp_Object terminal;
2382{ 2377{
2383 struct terminal *t = get_terminal (terminal, 1); 2378 struct terminal *t = get_terminal (terminal, 1);
2384 2379
@@ -2408,8 +2403,7 @@ terminal device.
2408suspended. 2403suspended.
2409 2404
2410A suspended tty may be resumed by calling `resume-tty' on it. */) 2405A suspended tty may be resumed by calling `resume-tty' on it. */)
2411 (tty) 2406 (Lisp_Object tty)
2412 Lisp_Object tty;
2413{ 2407{
2414 struct terminal *t = get_tty_terminal (tty, 1); 2408 struct terminal *t = get_tty_terminal (tty, 1);
2415 FILE *f; 2409 FILE *f;
@@ -2475,8 +2469,7 @@ suspended.
2475 2469
2476TTY may be a terminal object, a frame, or nil (meaning the selected 2470TTY may be a terminal object, a frame, or nil (meaning the selected
2477frame's terminal). */) 2471frame's terminal). */)
2478 (tty) 2472 (Lisp_Object tty)
2479 Lisp_Object tty;
2480{ 2473{
2481 struct terminal *t = get_tty_terminal (tty, 1); 2474 struct terminal *t = get_tty_terminal (tty, 1);
2482 int fd; 2475 int fd;
@@ -3148,7 +3141,7 @@ DEFUN ("gpm-mouse-start", Fgpm_mouse_start, Sgpm_mouse_start,
3148 0, 0, 0, 3141 0, 0, 0,
3149 doc: /* Open a connection to Gpm. 3142 doc: /* Open a connection to Gpm.
3150Gpm-mouse can only be activated for one tty at a time. */) 3143Gpm-mouse can only be activated for one tty at a time. */)
3151 () 3144 (void)
3152{ 3145{
3153 struct frame *f = SELECTED_FRAME (); 3146 struct frame *f = SELECTED_FRAME ();
3154 struct tty_display_info *tty 3147 struct tty_display_info *tty
@@ -3196,7 +3189,7 @@ close_gpm (int fd)
3196DEFUN ("gpm-mouse-stop", Fgpm_mouse_stop, Sgpm_mouse_stop, 3189DEFUN ("gpm-mouse-stop", Fgpm_mouse_stop, Sgpm_mouse_stop,
3197 0, 0, 0, 3190 0, 0, 0,
3198 doc: /* Close a connection to Gpm. */) 3191 doc: /* Close a connection to Gpm. */)
3199 () 3192 (void)
3200{ 3193{
3201 struct frame *f = SELECTED_FRAME (); 3194 struct frame *f = SELECTED_FRAME ();
3202 struct tty_display_info *tty 3195 struct tty_display_info *tty