diff options
| author | Glenn Morris | 2013-05-23 20:50:31 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-05-23 20:50:31 -0700 |
| commit | 43cc956bb86b5c6dab117af89c4cfae450b62113 (patch) | |
| tree | 11004c2561ff3a183131f042cfff0742a5bdb4a0 | |
| parent | dab49a3b21719437d72eb5d2e83cd0388abc4ec3 (diff) | |
| download | emacs-43cc956bb86b5c6dab117af89c4cfae450b62113.tar.gz emacs-43cc956bb86b5c6dab117af89c4cfae450b62113.zip | |
* lisp/progmodes/js.el (js--optimize-arglist): Declare.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/progmodes/js.el | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0919e5c3c64..c863506ed2d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-05-24 Glenn Morris <rgm@gnu.org> | 1 | 2013-05-24 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * progmodes/js.el (js--optimize-arglist): Declare. | ||
| 4 | |||
| 3 | * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. | 5 | * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. |
| 4 | 6 | ||
| 5 | * progmodes/which-func.el (ediff-window-A, ediff-window-B) | 7 | * progmodes/which-func.el (ediff-window-A, ediff-window-B) |
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 4e345b4bfa9..28ee859f9db 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -2704,6 +2704,10 @@ with `js--js-encode-value'." | |||
| 2704 | (defsubst js--js-true (value) | 2704 | (defsubst js--js-true (value) |
| 2705 | (not (js--js-not value))) | 2705 | (not (js--js-not value))) |
| 2706 | 2706 | ||
| 2707 | ;; The somewhat complex code layout confuses the byte-compiler into | ||
| 2708 | ;; thinking this function "might not be defined at runtime". | ||
| 2709 | (declare-function js--optimize-arglist "js" (arglist)) | ||
| 2710 | |||
| 2707 | (eval-and-compile | 2711 | (eval-and-compile |
| 2708 | (defun js--optimize-arglist (arglist) | 2712 | (defun js--optimize-arglist (arglist) |
| 2709 | "Convert immediate js< and js! references to deferred ones." | 2713 | "Convert immediate js< and js! references to deferred ones." |