summaryrefslogtreecommitdiff
path: root/lisp/term/ns-win.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-04-30 20:09:02 -0400
committerGlenn Morris <rgm@gnu.org>2015-04-30 20:09:02 -0400
commite22f333ddb1af56334146583e3bdbcf85cf189d6 (patch)
treebf0f4135d633030c978c2a89031736f3e6998831 /lisp/term/ns-win.el
parentce7ff436ffd6d9ace7e8d89f4cc81c427407cfaf (diff)
downloademacs-e22f333ddb1af56334146583e3bdbcf85cf189d6.tar.gz
Silence some compilation warnings
* lisp/emacs-lisp/check-declare.el (compilation-forget-errors): * lisp/emulation/cua-base.el (delete-active-region): * lisp/net/net-utils.el (w32-get-console-output-codepage): * lisp/term/ns-win.el (ns-own-selection-internal) (ns-disown-selection-internal, ns-selection-owner-p) (ns-selection-exists-p, ns-get-selection): Declare for compiler..
Diffstat (limited to 'lisp/term/ns-win.el')
-rw-r--r--lisp/term/ns-win.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 9264a1cf033..6f8f29c6b3d 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -930,6 +930,15 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
(gui-method-define window-system-initialization ns
#'ns-initialize-window-system)
+(declare-function ns-own-selection-internal "nsselect.m" (selection value))
+(declare-function ns-disown-selection-internal "nsselect.m" (selection))
+(declare-function ns-selection-owner-p "nsselect.m"
+ (&optional selection terminal))
+(declare-function ns-selection-exists-p "nsselect.m"
+ (&optional selection terminal))
+(declare-function ns-get-selection "nsselect.m"
+ (selection-symbol target-type &optional time-stamp terminal))
+
(gui-method-define gui-set-selection ns
(lambda (selection value)
(if value (ns-own-selection-internal selection value)