Mercurial > emacs
comparison lisp/simple.el @ 110145:c403c2e0a620
Removed cut-buffer code.
* lisp/mouse-sel.el (mouse-sel-get-selection-function):
x-cut-buffer-or-selection-value renamed to x-selection-value.
(x-select-text): Optional push removed.
* lisp/select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
* lisp/simple.el (interprogram-cut-function): Remove mention of PUSH.
* lisp/w32-fns.el (x-last-selected-text):
x-cut-buffer-or-selection-value renamed to x-selection-value.
(x-cut-buffer-max): Remove.
(x-select-text): Remove argument PUSH, update documentation.
* lisp/emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
* lisp/term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
x-cut-buffer-or-selection-value renamed to x-selection-value
(x-selection-value): Renamed from x-cut-buffer-or-selection-value.
(x-select-text): Remove argument PUSH, update documentation.
* lisp/term/pc-win.el (x-last-selected-text):
x-cut-buffer-or-selection-value renamed to x-selection-value
(x-select-text): Remove argument PUSH, update documentation.
* lisp/term/x-win.el: Update documentation for x-last-selected-text-*.
(x-last-selected-text-cut, x-last-selected-text-cut-encoded)
(x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
(x-select-text): Remove argument PUSH, update documentation. Remove
cut-buffer code.
(x-selection-value-internal): Was previously x-selection-value.
(x-selection-value): Renamed from x-cut-buffer-or-selection-value.
Update documentation, remove cut-buffer code. Call
x-selection-value-internal.
(x-clipboard-yank): Call x-selection-value-internal.
(x-initialize-window-system): Remove setting of x-cut-buffer-max.
* src/xselect.c: Remove declaration of cut-buffer objects and functions.
(symbol_to_x_atom): Remove mapping to XA_CUT_BUFFERn.
(x_atom_to_symbol): Remove mapping to QCUT_BUFFERn.
(Fx_get_cut_buffer_internal, Fx_store_cut_buffer_internal)
(Fx_rotate_cut_buffers_internal): Remove.
(syms_of_xselect): Remove defsubr of above.
Remove intern of QCUT_BUFFERn.
* src/xterm.c (x_term_init): Don't set dpyinfo->cut_buffers_initialized.
* src/xterm.h (struct dpyinfo): Remove cut_buffers_initialized.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Thu, 02 Sep 2010 11:47:08 +0200 |
parents | aaa259d70304 |
children | f7b8afaa7eb0 |
comparison
equal
deleted
inserted
replaced
110144:6b5dc2e2565e | 110145:c403c2e0a620 |
---|---|
2927 pasting text between the windows of different programs. | 2927 pasting text between the windows of different programs. |
2928 This variable holds a function that Emacs calls whenever text | 2928 This variable holds a function that Emacs calls whenever text |
2929 is put in the kill ring, to make the new kill available to other | 2929 is put in the kill ring, to make the new kill available to other |
2930 programs. | 2930 programs. |
2931 | 2931 |
2932 The function takes one or two arguments. | 2932 The function takes one argument, TEXT, which is a string containing |
2933 The first argument, TEXT, is a string containing | 2933 the text which should be made available.") |
2934 the text which should be made available. | |
2935 The second, optional, argument PUSH, has the same meaning as the | |
2936 similar argument to `x-set-cut-buffer', which see.") | |
2937 | 2934 |
2938 (defvar interprogram-paste-function nil | 2935 (defvar interprogram-paste-function nil |
2939 "Function to call to get text cut from other programs. | 2936 "Function to call to get text cut from other programs. |
2940 | 2937 |
2941 Most window systems provide some sort of facility for cutting and | 2938 Most window systems provide some sort of facility for cutting and |