changeset 14849:e36c046e28b1

(sh-font-lock-keywords): Highlight \ only with non-alphanumeric char.
author Richard M. Stallman <rms@gnu.org>
date Wed, 20 Mar 1996 16:18:23 +0000
parents 831061a3e4f1
children 13d38dfedb51
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Wed Mar 20 14:51:42 1996 +0000
+++ b/lisp/progmodes/sh-script.el	Wed Mar 20 16:18:23 1996 +0000
@@ -526,7 +526,7 @@
 
     ;; The next entry is only used for defining the others
     (shell eval sh-append executable-font-lock-keywords
-	   '("\\\\." 0 font-lock-string-face)
+	   '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face)
 	   '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1
 	     font-lock-variable-name-face)))
   "*Rules for highlighting shell scripts.  See `sh-feature'.")