emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e22f333 3/5: Silence some compilation warnings


From: Glenn Morris
Subject: [Emacs-diffs] master e22f333 3/5: Silence some compilation warnings
Date: Fri, 01 May 2015 00:12:50 +0000

branch: master
commit e22f333ddb1af56334146583e3bdbcf85cf189d6
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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..
---
 lisp/emacs-lisp/check-declare.el |    2 ++
 lisp/emulation/cua-base.el       |    2 ++
 lisp/net/net-utils.el            |    2 ++
 lisp/term/ns-win.el              |    9 +++++++++
 4 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el
index 8fc299d..a7045ad8 100644
--- a/lisp/emacs-lisp/check-declare.el
+++ b/lisp/emacs-lisp/check-declare.el
@@ -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."
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el
index c6d7b50..e91ce80 100644
--- a/lisp/emulation/cua-base.el
+++ b/lisp/emulation/cua-base.el
@@ -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."
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index ebcbc71..eaf1d7e 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -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 "*")))
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 9264a1c..6f8f29c 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]