From d96da6c47a414ec5604010ebe138eacb78c5b54f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 4 Jul 2003 20:37:49 +0000 Subject: [PATCH] (sh-font-lock-paren): Add [ and ] to the set of chars allowed unquoted in a case pattern. --- lisp/progmodes/sh-script.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index bf5891db650..7fc3671d4e6 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -904,7 +904,7 @@ be indented (i.e. a <<- was used rather than just <<)." ;; 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) '(?\" ?\')) -- 2.39.2