From 3c5cc185df0d4143883d9bef921c2e5ffb59586f Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 10 May 2015 23:34:45 -0700 Subject: [PATCH] * 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. --- lisp/term/x-win.el | 11 +++++++++++ 1 file changed, 11 insertions(+) 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) -- 2.39.5