char-before is null. Reported by Deniz Dogan.
+2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
+
+ * progmodes/js.el (js--proper-indentation): Handle the case where
+ char-before is null. Reported by Deniz Dogan.
+
2009-09-11 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
(if (looking-at "[({[]\\s-*\\(/[/*]\\|$\\)")
(progn
(skip-syntax-backward " ")
- (when (= (char-before) ?\)) (backward-list))
+ (when (eq (char-before) ?\)) (backward-list))
(back-to-indentation)
(cond (same-indent-p
(current-column))