changeset 52411:9db479d16349

(sh-font-lock-keywords): Use something other than font-lock-string-face to highlight backslashes.
author Glenn Morris <rgm@gnu.org>
date Tue, 02 Sep 2003 17:37:01 +0000
parents 174bff8cdda4
children 58f90e8a7543
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Tue Sep 02 06:06:59 2003 +0000
+++ b/lisp/progmodes/sh-script.el	Tue Sep 02 17:37:01 2003 +0000
@@ -808,7 +808,8 @@
 
     ;; The next entry is only used for defining the others
     (shell eval sh-append executable-font-lock-keywords
-	   '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face)
+           ;; Using font-lock-string-face here confuses sh-get-indent-info.
+	   '("\\\\[^A-Za-z0-9]" 0 font-lock-warning-face)
 	   '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1
 	     font-lock-variable-name-face))
     (rpm eval sh-append rpm2