]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence some compilation warnings
authorGlenn Morris <rgm@gnu.org>
Fri, 1 May 2015 00:09:02 +0000 (20:09 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 1 May 2015 00:09:02 +0000 (20:09 -0400)
* 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..

lisp/emacs-lisp/check-declare.el
lisp/emulation/cua-base.el
lisp/net/net-utils.el
lisp/term/ns-win.el

index 8fc299d7e938d07a8944c1eef624992c71ebfca6..a7045ad8f22696cbb954d3700a9490757bcdb75d 100644 (file)
@@ -284,6 +284,8 @@ TYPE is a string giving the nature of the error.  Warning is displayed in
                              type)
                      nil check-declare-warning-buffer)))
 
+(declare-function compilation-forget-errors "compile" ())
+
 (defun check-declare-files (&rest files)
   "Check veracity of all `declare-function' statements in FILES.
 Return a list of any errors found."
index c6d7b5018cd4fde45d693f3fa3026a51cc1d198a..e91ce80bbe2726c8315dc98f22db982edf7af0da 100644 (file)
@@ -790,6 +790,8 @@ Repeating prefix key when region is active works as a single prefix key."
 
 ;;; Region specific commands
 
+(declare-function delete-active-region "delsel" (&optional killp))
+
 (defun cua-delete-region ()
   "Delete the active region.
 Save a copy in register 0 if `cua-delete-copy-to-register-0' is non-nil."
index ebcbc714ffb4631fac4df2a7f2cb470cfb208fac..eaf1d7e22c46f9d8e41badc01d60ea41eac0fa90 100644 (file)
@@ -326,6 +326,8 @@ This variable is only used if the variable
         (insert filtered-string)
         (set-marker (process-mark process) (point))))))
 
+(declare-function w32-get-console-output-codepage "w32proc.c" ())
+
 (defun net-utils-run-program (name header program args)
   "Run a network information program."
   (let ((buf (get-buffer-create (concat "*" name "*")))
index 9264a1cf033745563b1f338f14786c841bad3d3a..6f8f29c6b3dfa8ddb38bfa05e0c33b2d958b6e83 100644 (file)
@@ -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)