From: Glenn Morris Date: Tue, 2 Sep 2003 17:37:01 +0000 (+0000) Subject: (sh-font-lock-keywords): Use something other than X-Git-Tag: ttn-vms-21-2-B4~8922 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3154202d0256aae3f74fddeded1ce7414d66bcc2;p=emacs.git (sh-font-lock-keywords): Use something other than font-lock-string-face to highlight backslashes. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 5ad3e9b2cff..28bc2eaf3e0 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -808,7 +808,8 @@ See `sh-feature'.") ;; 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