diff options
| author | Eli Zaretskii | 2016-05-26 22:48:35 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-05-26 22:48:35 +0300 |
| commit | 01d70ef7e620c7e8331f41d2a1e17d2c5a000c82 (patch) | |
| tree | 8bdf8c87da8576721a693e820914e544f043af5d | |
| parent | 2a2c6ee8d18267c16e3953194c6066d9a22b88a5 (diff) | |
| download | emacs-01d70ef7e620c7e8331f41d2a1e17d2c5a000c82.tar.gz emacs-01d70ef7e620c7e8331f41d2a1e17d2c5a000c82.zip | |
Avoid byte-compiler warnings due to 'declare-function'
* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
(w32-get-valid-locale-ids):
* lisp/progmodes/js.el (ido-mode): Specify arglist in
'declare-function' forms, to avoid byte-compiler warnings.
| -rw-r--r-- | lisp/progmodes/js.el | 2 | ||||
| -rw-r--r-- | lisp/w32-fns.el | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index a35c4a31d06..40f60c9277a 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -62,7 +62,7 @@ | |||
| 62 | (defvar moz-repl-name) | 62 | (defvar moz-repl-name) |
| 63 | (defvar ido-cur-list) | 63 | (defvar ido-cur-list) |
| 64 | (defvar electric-layout-rules) | 64 | (defvar electric-layout-rules) |
| 65 | (declare-function ido-mode "ido") | 65 | (declare-function ido-mode "ido" (arg)) |
| 66 | (declare-function inferior-moz-process "ext:mozrepl" ()) | 66 | (declare-function inferior-moz-process "ext:mozrepl" ()) |
| 67 | 67 | ||
| 68 | ;;; Constants | 68 | ;;; Constants |
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 4815f4b8c21..91c02530427 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -31,9 +31,9 @@ | |||
| 31 | 31 | ||
| 32 | ;;;; Function keys | 32 | ;;;; Function keys |
| 33 | 33 | ||
| 34 | (declare-function set-message-beep "w32fns.c") | 34 | (declare-function set-message-beep "w32fns.c" (sound)) |
| 35 | (declare-function w32-get-locale-info "w32proc.c") | 35 | (declare-function w32-get-locale-info "w32proc.c" (lcid &optional longform)) |
| 36 | (declare-function w32-get-valid-locale-ids "w32proc.c") | 36 | (declare-function w32-get-valid-locale-ids "w32proc.c" ()) |
| 37 | 37 | ||
| 38 | ;; Map all versions of a filename (8.3, longname, mixed case) to the | 38 | ;; Map all versions of a filename (8.3, longname, mixed case) to the |
| 39 | ;; same buffer. | 39 | ;; same buffer. |