diff options
| author | Glenn Morris | 2015-04-30 20:09:02 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-04-30 20:09:02 -0400 |
| commit | e22f333ddb1af56334146583e3bdbcf85cf189d6 (patch) | |
| tree | bf0f4135d633030c978c2a89031736f3e6998831 | |
| parent | ce7ff436ffd6d9ace7e8d89f4cc81c427407cfaf (diff) | |
| download | emacs-e22f333ddb1af56334146583e3bdbcf85cf189d6.tar.gz emacs-e22f333ddb1af56334146583e3bdbcf85cf189d6.zip | |
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..
| -rw-r--r-- | lisp/emacs-lisp/check-declare.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/cua-base.el | 2 | ||||
| -rw-r--r-- | lisp/net/net-utils.el | 2 | ||||
| -rw-r--r-- | 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 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 | |||
| 284 | type) | 284 | type) |
| 285 | nil check-declare-warning-buffer))) | 285 | nil check-declare-warning-buffer))) |
| 286 | 286 | ||
| 287 | (declare-function compilation-forget-errors "compile" ()) | ||
| 288 | |||
| 287 | (defun check-declare-files (&rest files) | 289 | (defun check-declare-files (&rest files) |
| 288 | "Check veracity of all `declare-function' statements in FILES. | 290 | "Check veracity of all `declare-function' statements in FILES. |
| 289 | Return a list of any errors found." | 291 | Return a list of any errors found." |
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el index c6d7b5018cd..e91ce80bbe2 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." | |||
| 790 | 790 | ||
| 791 | ;;; Region specific commands | 791 | ;;; Region specific commands |
| 792 | 792 | ||
| 793 | (declare-function delete-active-region "delsel" (&optional killp)) | ||
| 794 | |||
| 793 | (defun cua-delete-region () | 795 | (defun cua-delete-region () |
| 794 | "Delete the active region. | 796 | "Delete the active region. |
| 795 | Save a copy in register 0 if `cua-delete-copy-to-register-0' is non-nil." | 797 | 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 ebcbc714ffb..eaf1d7e22c4 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 | |||
| 326 | (insert filtered-string) | 326 | (insert filtered-string) |
| 327 | (set-marker (process-mark process) (point)))))) | 327 | (set-marker (process-mark process) (point)))))) |
| 328 | 328 | ||
| 329 | (declare-function w32-get-console-output-codepage "w32proc.c" ()) | ||
| 330 | |||
| 329 | (defun net-utils-run-program (name header program args) | 331 | (defun net-utils-run-program (name header program args) |
| 330 | "Run a network information program." | 332 | "Run a network information program." |
| 331 | (let ((buf (get-buffer-create (concat "*" name "*"))) | 333 | (let ((buf (get-buffer-create (concat "*" name "*"))) |
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.") | |||
| 930 | (gui-method-define window-system-initialization ns | 930 | (gui-method-define window-system-initialization ns |
| 931 | #'ns-initialize-window-system) | 931 | #'ns-initialize-window-system) |
| 932 | 932 | ||
| 933 | (declare-function ns-own-selection-internal "nsselect.m" (selection value)) | ||
| 934 | (declare-function ns-disown-selection-internal "nsselect.m" (selection)) | ||
| 935 | (declare-function ns-selection-owner-p "nsselect.m" | ||
| 936 | (&optional selection terminal)) | ||
| 937 | (declare-function ns-selection-exists-p "nsselect.m" | ||
| 938 | (&optional selection terminal)) | ||
| 939 | (declare-function ns-get-selection "nsselect.m" | ||
| 940 | (selection-symbol target-type &optional time-stamp terminal)) | ||
| 941 | |||
| 933 | (gui-method-define gui-set-selection ns | 942 | (gui-method-define gui-set-selection ns |
| 934 | (lambda (selection value) | 943 | (lambda (selection value) |
| 935 | (if value (ns-own-selection-internal selection value) | 944 | (if value (ns-own-selection-internal selection value) |