changeset 54282:d11df80991d8

(sh-font-lock-paren): Add @ in case patterns.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 04 Mar 2004 23:27:00 +0000
parents 7b3add67c42a
children d0c3cadb7e21
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Thu Mar 04 22:56:30 2004 +0000
+++ b/lisp/progmodes/sh-script.el	Thu Mar 04 23:27:00 2004 +0000
@@ -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 @@
 	  ;; 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) '(?\" ?\'))