1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(x-get-cut-buffer-internal, x-rotate-cut-buffers-internal,

x-store-cut-buffer-internal): Declare as functions.
This commit is contained in:
Juanma Barranquero 2007-11-22 13:51:38 +00:00
parent f464330b30
commit c2649d3f84

View file

@ -125,6 +125,8 @@ prefix argument, it uses the text of the region as the selection value ."
;;; Cut Buffer support
(declare-function x-get-cut-buffer-internal "xselect.c")
(defun x-get-cut-buffer (&optional which-one)
"Returns the value of one of the 8 X server cut-buffers.
Optional arg WHICH-ONE should be a number from 0 to 7, defaulting to 0.
@ -136,6 +138,9 @@ Cut buffers are considered obsolete; you should use selections instead."
which-one)
'CUT_BUFFER0)))
(declare-function x-rotate-cut-buffers-internal "xselect.c")
(declare-function x-store-cut-buffer-internal "xselect.c")
(defun x-set-cut-buffer (string &optional push)
"Store STRING into the X server's primary cut buffer.
If PUSH is non-nil, also rotate the cut buffers: