diff options
| author | Kenichi Handa | 2007-11-18 09:05:14 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-11-18 09:05:14 +0000 |
| commit | 82e0280c804d3d762af1b5ecae3a61b85c1c5d9e (patch) | |
| tree | 2bda213a2a80d9a80dcdf2e3ebd0d0ffe1fc3ba0 /src | |
| parent | a03c851c19750b3105d1371346234b9b1d6546cd (diff) | |
| download | emacs-82e0280c804d3d762af1b5ecae3a61b85c1c5d9e.tar.gz emacs-82e0280c804d3d762af1b5ecae3a61b85c1c5d9e.zip | |
(Vselection_coding_system)
(Vnext_selection_coding_system): Delete them.
(syms_of_xselect): Don't declare selection-coding-system and
next-selection-coding-system. They are declared in select.el.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/xselect.c b/src/xselect.c index 45907b30be4..53debec8c07 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -123,13 +123,6 @@ Lisp_Object QCUT_BUFFER0, QCUT_BUFFER1, QCUT_BUFFER2, QCUT_BUFFER3, | |||
| 123 | 123 | ||
| 124 | static Lisp_Object Vx_lost_selection_functions; | 124 | static Lisp_Object Vx_lost_selection_functions; |
| 125 | static Lisp_Object Vx_sent_selection_functions; | 125 | static Lisp_Object Vx_sent_selection_functions; |
| 126 | /* Coding system for communicating with other X clients via selection | ||
| 127 | and clipboard. */ | ||
| 128 | static Lisp_Object Vselection_coding_system; | ||
| 129 | |||
| 130 | /* Coding system for the next communicating with other X clients. */ | ||
| 131 | static Lisp_Object Vnext_selection_coding_system; | ||
| 132 | |||
| 133 | static Lisp_Object Qforeign_selection; | 126 | static Lisp_Object Qforeign_selection; |
| 134 | 127 | ||
| 135 | /* If this is a smaller number than the max-request-size of the display, | 128 | /* If this is a smaller number than the max-request-size of the display, |
| @@ -3006,30 +2999,6 @@ This hook doesn't let you change the behavior of Emacs's selection replies, | |||
| 3006 | it merely informs you that they have happened. */); | 2999 | it merely informs you that they have happened. */); |
| 3007 | Vx_sent_selection_functions = Qnil; | 3000 | Vx_sent_selection_functions = Qnil; |
| 3008 | 3001 | ||
| 3009 | DEFVAR_LISP ("selection-coding-system", &Vselection_coding_system, | ||
| 3010 | doc: /* Coding system for communicating with other X clients. | ||
| 3011 | |||
| 3012 | When sending text via selection and clipboard, if the requested | ||
| 3013 | data-type is not "UTF8_STRING", the text is encoded by this coding | ||
| 3014 | system. | ||
| 3015 | |||
| 3016 | When receiving text, if the data-type of the received text is not | ||
| 3017 | "UTF8_STRING", it is decoded by this coding system. | ||
| 3018 | |||
| 3019 | See also the documentation of the variable `x-select-request-type' how | ||
| 3020 | to control which data-type to request for receiving text. | ||
| 3021 | |||
| 3022 | The default value is `compound-text-with-extensions'. */); | ||
| 3023 | Vselection_coding_system = intern ("compound-text-with-extensions"); | ||
| 3024 | |||
| 3025 | DEFVAR_LISP ("next-selection-coding-system", &Vnext_selection_coding_system, | ||
| 3026 | doc: /* Coding system for the next communication with other X clients. | ||
| 3027 | Usually, `selection-coding-system' is used for communicating with | ||
| 3028 | other X clients. But, if this variable is set, it is used for the | ||
| 3029 | next communication only. After the communication, this variable is | ||
| 3030 | set to nil. */); | ||
| 3031 | Vnext_selection_coding_system = Qnil; | ||
| 3032 | |||
| 3033 | DEFVAR_INT ("x-selection-timeout", &x_selection_timeout, | 3002 | DEFVAR_INT ("x-selection-timeout", &x_selection_timeout, |
| 3034 | doc: /* Number of milliseconds to wait for a selection reply. | 3003 | doc: /* Number of milliseconds to wait for a selection reply. |
| 3035 | If the selection owner doesn't reply in this time, we give up. | 3004 | If the selection owner doesn't reply in this time, we give up. |