From: Juanma Barranquero Date: Wed, 13 Feb 2013 00:53:07 +0000 (+0100) Subject: lisp/progmodes/js.el: Silence byte-compiler warning. X-Git-Tag: emacs-24.3.90~173^2~7^2~67 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6596b941f935f02c312bf6200ad9469819859c9;p=emacs.git lisp/progmodes/js.el: Silence byte-compiler warning. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18c11debf0d..4222f818799 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-02-13 Juanma Barranquero + + * progmodes/js.el (js--multi-line-declaration-indentation): + Silence byte-compiler warning. + 2013-02-12 Michael Albinus * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite. diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 5f76cb4bbc5..4aa1ac270d5 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -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)