Mercurial > emacs
diff lisp/select.el @ 95841:b4e36ff621b3
Add some compiler declarations, for builds without X.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 12 Jun 2008 03:56:20 +0000 |
parents | 590265a51ebf |
children | dc54ec9cb542 |
line wrap: on
line diff
--- a/lisp/select.el Thu Jun 12 03:54:06 2008 +0000 +++ b/lisp/select.el Thu Jun 12 03:56:20 2008 +0000 @@ -64,6 +64,9 @@ 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 @@ "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