summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.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/emacs-lisp/check-declare.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/emacs-lisp/check-declare.el')
-rw-r--r--lisp/emacs-lisp/check-declare.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el
index 8fc299d7e93..a7045ad8f22 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."