diff options
| author | Karoly Lorentey | 2006-01-01 17:11:05 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-01-01 17:11:05 +0000 |
| commit | 00d385b0ced3e7c6bccac72903fa0b5499717eab (patch) | |
| tree | 470286affee9af0764dea96d2a287321cb66fbd3 /src | |
| parent | 6d8299f672c42c8b25a969fbb93eeec483501618 (diff) | |
| download | emacs-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.c | 25 |
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 | ||
| 4065 | DEFUN ("x-close-connection", Fx_close_connection, | 4065 | DEFUN ("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. |
| 4068 | For DISPLAY, specify either a frame or a display name (a string). | 4068 | For TERMINAL, specify a terminal id, a frame or a display name (a |
| 4069 | If DISPLAY is nil, that stands for the selected frame's display. */) | 4069 | string). If TERMINAL is nil, that stands for the selected frame's |
| 4070 | (display) | 4070 | terminal. */) |
| 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. | |||
| 4099 | Turning on synchronization prohibits the Xlib routines from buffering | 4100 | Turning on synchronization prohibits the Xlib routines from buffering |
| 4100 | requests and seriously degrades performance, but makes debugging much | 4101 | requests and seriously degrades performance, but makes debugging much |
| 4101 | easier. | 4102 | easier. |
| 4102 | The optional second argument DISPLAY specifies which display to act on. | 4103 | The optional second argument TERMINAL specifies which display to act on. |
| 4103 | DISPLAY should be either a frame or a display name (a string). | 4104 | TERMINAL should be a terminal id, a frame or a display name (a string). |
| 4104 | If DISPLAY is omitted or nil, that stands for the selected frame's display. */) | 4105 | If 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 | ||