changeset 51727:2c4c0278cdbb

(sh-font-lock-paren): Add [ and ] to the set of chars allowed unquoted in a case pattern.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 04 Jul 2003 20:37:49 +0000
parents 74b77c4fc17e
children eb90616362ee
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Fri Jul 04 20:36:50 2003 +0000
+++ b/lisp/progmodes/sh-script.el	Fri Jul 04 20:37:49 2003 +0000
@@ -904,7 +904,7 @@
 	  ;; Skip through one pattern
 	  (while
 	      (or (/= 0 (skip-syntax-backward "w_"))
-		  (/= 0 (skip-chars-backward "?*/\\"))
+		  (/= 0 (skip-chars-backward "?[]*/\\"))
 		  (and (sh-is-quoted-p (1- (point)))
 		       (goto-char (- (point) 2)))
 		  (when (memq (char-before) '(?\" ?\'))