aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2007-11-18 09:05:14 +0000
committerKenichi Handa2007-11-18 09:05:14 +0000
commit82e0280c804d3d762af1b5ecae3a61b85c1c5d9e (patch)
tree2bda213a2a80d9a80dcdf2e3ebd0d0ffe1fc3ba0 /src
parenta03c851c19750b3105d1371346234b9b1d6546cd (diff)
downloademacs-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.c31
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
124static Lisp_Object Vx_lost_selection_functions; 124static Lisp_Object Vx_lost_selection_functions;
125static Lisp_Object Vx_sent_selection_functions; 125static Lisp_Object Vx_sent_selection_functions;
126/* Coding system for communicating with other X clients via selection
127 and clipboard. */
128static Lisp_Object Vselection_coding_system;
129
130/* Coding system for the next communicating with other X clients. */
131static Lisp_Object Vnext_selection_coding_system;
132
133static Lisp_Object Qforeign_selection; 126static 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,
3006it merely informs you that they have happened. */); 2999it 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
3012When sending text via selection and clipboard, if the requested
3013data-type is not "UTF8_STRING", the text is encoded by this coding
3014system.
3015
3016When receiving text, if the data-type of the received text is not
3017"UTF8_STRING", it is decoded by this coding system.
3018
3019See also the documentation of the variable `x-select-request-type' how
3020to control which data-type to request for receiving text.
3021
3022The 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.
3027Usually, `selection-coding-system' is used for communicating with
3028other X clients. But, if this variable is set, it is used for the
3029next communication only. After the communication, this variable is
3030set 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.
3035If the selection owner doesn't reply in this time, we give up. 3004If the selection owner doesn't reply in this time, we give up.