]> code.delx.au - gnu-emacs/commitdiff
lisp/progmodes/js.el: Silence byte-compiler warning.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 13 Feb 2013 00:53:07 +0000 (01:53 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 13 Feb 2013 00:53:07 +0000 (01:53 +0100)
lisp/ChangeLog
lisp/progmodes/js.el

index 18c11debf0d49435deb083f25fb042068a223010..4222f8187991e1aa5e15fc2e8812cf77d9f63c64 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       * progmodes/js.el (js--multi-line-declaration-indentation):
+       Silence byte-compiler warning.
+
 2013-02-12  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
index 5f76cb4bbc50c4cff0d0a3e5e03df03d7173b9dc..4aa1ac270d5bd08f8c9f1203e3be0201fcfaa442 100644 (file)
@@ -1791,7 +1791,7 @@ statement spanning multiple lines; otherwise, return nil."
                                  (not (eq (char-before) ?\;)))
                             (and (>= pos (point-at-bol))
                                  (<= pos (point-at-eol)))))))
-          (condition-case err
+          (condition-case nil
               (backward-sexp)
             (scan-error (setq at-opening-bracket t))))
         (when (looking-at js--declaration-keyword-re)