changeset 105823:dd97d1526b9f

* progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 01 Nov 2009 17:44:04 +0000
parents 59656f4a5cda
children 06f1348e3279
files lisp/ChangeLog lisp/progmodes/sh-script.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Nov 01 09:47:58 2009 +0000
+++ b/lisp/ChangeLog	Sun Nov 01 17:44:04 2009 +0000
@@ -1,3 +1,7 @@
+2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
+
+	* progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
+
 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
--- a/lisp/progmodes/sh-script.el	Sun Nov 01 09:47:58 2009 +0000
+++ b/lisp/progmodes/sh-script.el	Sun Nov 01 17:44:04 2009 +0000
@@ -1110,7 +1110,7 @@
 		    (condition-case nil (progn (backward-sexp 1) t)
 		      (error nil)))))
 	  ;; Patterns can be preceded by an open-paren (Bug#1320).
-	  (if (= (char-before (point)) ?\()
+	  (if (eq (char-before (point)) ?\()
 	      (backward-char 1))
           (while (progn
                    (forward-comment (- (point-max)))