# HG changeset patch # User Stefan Monnier # Date 1057351069 0 # Node ID 2c4c0278cdbb968fd7e49d812e2b7ca66e96e0df # Parent 74b77c4fc17e03ef221e4e7386e2472a0f56d317 (sh-font-lock-paren): Add [ and ] to the set of chars allowed unquoted in a case pattern. diff -r 74b77c4fc17e -r 2c4c0278cdbb lisp/progmodes/sh-script.el --- 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) '(?\" ?\'))