emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112701: * lisp/progmodes/js.el (js--


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112701: * lisp/progmodes/js.el (js--optimize-arglist): Declare.
Date: Thu, 23 May 2013 20:50:31 -0700
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112701
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-05-23 20:50:31 -0700
message:
  * lisp/progmodes/js.el (js--optimize-arglist): Declare.
modified:
  lisp/ChangeLog
  lisp/progmodes/js.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-05-24 03:49:52 +0000
+++ b/lisp/ChangeLog    2013-05-24 03:50:31 +0000
@@ -1,5 +1,7 @@
 2013-05-24  Glenn Morris  <address@hidden>
 
+       * 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)

=== modified file 'lisp/progmodes/js.el'
--- a/lisp/progmodes/js.el      2013-05-23 07:37:56 +0000
+++ b/lisp/progmodes/js.el      2013-05-24 03:50:31 +0000
@@ -2704,6 +2704,10 @@
 (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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]