]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-font-lock-paren): Add @ in case patterns.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 4 Mar 2004 23:27:00 +0000 (23:27 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 4 Mar 2004 23:27:00 +0000 (23:27 +0000)
lisp/progmodes/sh-script.el

index f765b37c76a0a0ecef893fb8839006296871f2bc..5635a1b17f792c0a9e0d6f15aa0a3f145147fe3d 100644 (file)
@@ -1,6 +1,6 @@
 ;;; sh-script.el --- shell-script editing commands for Emacs
 
-;; Copyright (C) 1993, 94, 95, 96, 97, 1999, 2001, 2003
+;; Copyright (C) 1993, 94, 95, 96, 97, 1999, 2001, 03, 2004
 ;;  Free Software Foundation, Inc.
 
 ;; Author: Daniel Pfeiffer <occitan@esperanto.org>
@@ -917,7 +917,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) '(?\" ?\'))