summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-05-10 23:34:45 -0700
committerGlenn Morris <rgm@gnu.org>2015-05-10 23:34:45 -0700
commit3c5cc185df0d4143883d9bef921c2e5ffb59586f (patch)
treedfdd383578cdcf15d42e2ea1491213cd8c61a217 /lisp/term
parenta0dd752f3902129870b8b4cc4b4f89368c7cfb66 (diff)
downloademacs-3c5cc185df0d4143883d9bef921c2e5ffb59586f.tar.gz
* lisp/term/x-win.el: Quieten --without-x compilation.
(x-own-selection-internal, x-disown-selection-internal) (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal): Declare.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/x-win.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 11fe93f88ba..f929288d04e 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1323,6 +1323,17 @@ This returns an error if any Emacs frames are X frames."
(x-apply-session-resources)
(setq x-initialized t))
+(declare-function x-own-selection-internal "xselect.c"
+ (selection value &optional frame))
+(declare-function x-disown-selection-internal "xselect.c"
+ (selection &optional time-object terminal))
+(declare-function x-selection-owner-p "xselect.c"
+ (&optional selection terminal))
+(declare-function x-selection-exists-p "xselect.c"
+ (&optional selection terminal))
+(declare-function x-get-selection-internal "xselect.c"
+ (selection-symbol target-type &optional time-stamp terminal))
+
(add-to-list 'display-format-alist '("\\`[^:]*:[0-9]+\\(\\.[0-9]+\\)?\\'" . x))
(gui-method-define handle-args-function x #'x-handle-args)
(gui-method-define frame-creation-function x #'x-create-frame-with-faces)