aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2006-01-01 17:11:05 +0000
committerKaroly Lorentey2006-01-01 17:11:05 +0000
commit00d385b0ced3e7c6bccac72903fa0b5499717eab (patch)
tree470286affee9af0764dea96d2a287321cb66fbd3 /src
parent6d8299f672c42c8b25a969fbb93eeec483501618 (diff)
downloademacs-00d385b0ced3e7c6bccac72903fa0b5499717eab.tar.gz
emacs-00d385b0ced3e7c6bccac72903fa0b5499717eab.zip
Cosmetic fixes in xfns.c.
* src/xfns.c (Fx_close_connection, Fx_synchronize): Unify argument names with the rest of the DEFUNs. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-482
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 345ceebb34b..8da2e27687d 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4064,13 +4064,14 @@ An insecure way to solve the problem may be to use `xhost'.\n",
4064 4064
4065DEFUN ("x-close-connection", Fx_close_connection, 4065DEFUN ("x-close-connection", Fx_close_connection,
4066 Sx_close_connection, 1, 1, 0, 4066 Sx_close_connection, 1, 1, 0,
4067 doc: /* Close the connection to DISPLAY's X server. 4067 doc: /* Close the connection to TERMINAL's X server.
4068For DISPLAY, specify either a frame or a display name (a string). 4068For TERMINAL, specify a terminal id, a frame or a display name (a
4069If DISPLAY is nil, that stands for the selected frame's display. */) 4069string). If TERMINAL is nil, that stands for the selected frame's
4070 (display) 4070terminal. */)
4071 Lisp_Object display; 4071 (terminal)
4072 Lisp_Object terminal;
4072{ 4073{
4073 struct x_display_info *dpyinfo = check_x_display_info (display); 4074 struct x_display_info *dpyinfo = check_x_display_info (terminal);
4074 4075
4075 if (dpyinfo->reference_count > 0) 4076 if (dpyinfo->reference_count > 0)
4076 error ("Display still has frames on it"); 4077 error ("Display still has frames on it");
@@ -4099,13 +4100,13 @@ If ON is nil, allow buffering of requests.
4099Turning on synchronization prohibits the Xlib routines from buffering 4100Turning on synchronization prohibits the Xlib routines from buffering
4100requests and seriously degrades performance, but makes debugging much 4101requests and seriously degrades performance, but makes debugging much
4101easier. 4102easier.
4102The optional second argument DISPLAY specifies which display to act on. 4103The optional second argument TERMINAL specifies which display to act on.
4103DISPLAY should be either a frame or a display name (a string). 4104TERMINAL should be a terminal id, a frame or a display name (a string).
4104If DISPLAY is omitted or nil, that stands for the selected frame's display. */) 4105If TERMINAL is omitted or nil, that stands for the selected frame's display. */)
4105 (on, display) 4106 (on, terminal)
4106 Lisp_Object display, on; 4107 Lisp_Object terminal, on;
4107{ 4108{
4108 struct x_display_info *dpyinfo = check_x_display_info (display); 4109 struct x_display_info *dpyinfo = check_x_display_info (terminal);
4109 4110
4110 XSynchronize (dpyinfo->display, !EQ (on, Qnil)); 4111 XSynchronize (dpyinfo->display, !EQ (on, Qnil));
4111 4112