summaryrefslogtreecommitdiff
path: root/lisp/select.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-06-12 03:56:20 +0000
committerGlenn Morris <rgm@gnu.org>2008-06-12 03:56:20 +0000
commitaa360da10dc1130e40bb82225ee8988a2465f38a (patch)
tree24fea572da73c841761a9d8d8d59645bfa61d926 /lisp/select.el
parent1ad31f1bbae0aa9de6ff997803dcb4466b24e47d (diff)
downloademacs-aa360da10dc1130e40bb82225ee8988a2465f38a.tar.gz
Add some compiler declarations, for builds without X.
Diffstat (limited to 'lisp/select.el')
-rw-r--r--lisp/select.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/select.el b/lisp/select.el
index c6128169921..f2db4070d13 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -64,6 +64,9 @@ other X clients. But, if this variable is set, it is used for
the next communication only. After the communication, this
variable is set to nil.")
+(declare-function x-get-selection-internal "xselect.c"
+ (selection-symbol target-type &optional time-stamp))
+
;; This is for temporary compatibility with pre-release Emacs 19.
(defalias 'x-selection 'x-get-selection)
(defun x-get-selection (&optional type data-type)
@@ -106,6 +109,11 @@ in `selection-converter-alist', which see."
"Return text pasted to the clipboard."
(x-get-selection-internal 'CLIPBOARD 'STRING))
+(declare-function x-own-selection-internal "xselect.c"
+ (selection-name selection-value))
+(declare-function x-disown-selection-internal "xselect.c"
+ (selection &optional time))
+
(defun x-set-selection (type data)
"Make an X Windows selection of type TYPE and value DATA.
The argument TYPE (nil means `PRIMARY') says which selection, and