From: Stefan Monnier Date: Fri, 4 Jul 2003 20:37:49 +0000 (+0000) Subject: (sh-font-lock-paren): Add [ and ] to the X-Git-Tag: ttn-vms-21-2-B4~9509 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d96da6c47a414ec5604010ebe138eacb78c5b54f;p=emacs.git (sh-font-lock-paren): Add [ and ] to the set of chars allowed unquoted in a case pattern. --- 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) '(?\" ?\'))