From: Stefan Monnier Date: Thu, 4 Mar 2004 23:27:00 +0000 (+0000) Subject: (sh-font-lock-paren): Add @ in case patterns. X-Git-Tag: ttn-vms-21-2-B4~7341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=282266074971a3b4746fefdd8dbbeb1ff66417e9;p=emacs.git (sh-font-lock-paren): Add @ in case patterns. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index f765b37c76a..5635a1b17f7 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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 @@ -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) '(?\" ?\'))