1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

* lisp/progmodes/js.el (js--optimize-arglist): Declare.

This commit is contained in:
Glenn Morris 2013-05-23 20:50:31 -07:00
parent dab49a3b21
commit 43cc956bb8
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2013-05-24 Glenn Morris <rgm@gnu.org>
* progmodes/js.el (js--optimize-arglist): Declare.
* progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
* progmodes/which-func.el (ediff-window-A, ediff-window-B)

View File

@ -2704,6 +2704,10 @@ with `js--js-encode-value'."
(defsubst js--js-true (value)
(not (js--js-not value)))
;; The somewhat complex code layout confuses the byte-compiler into
;; thinking this function "might not be defined at runtime".
(declare-function js--optimize-arglist "js" (arglist))
(eval-and-compile
(defun js--optimize-arglist (arglist)
"Convert immediate js< and js! references to deferred ones."