Commit 3154202d authored by Glenn Morris's avatar Glenn Morris
Browse files

(sh-font-lock-keywords): Use something other than

font-lock-string-face to highlight backslashes.
parent 8e5331fe
......@@ -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
(rpm eval sh-append rpm2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment