Commit c2649d3f authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

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

x-store-cut-buffer-internal): Declare as functions.
parent f464330b
......@@ -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."
(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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment