]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-font-lock-keywords): Highlight escaped EOLs differently from other
authorGlenn Morris <rgm@gnu.org>
Fri, 19 Sep 2003 17:10:57 +0000 (17:10 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 19 Sep 2003 17:10:57 +0000 (17:10 +0000)
backslash constructs.

lisp/progmodes/sh-script.el

index 28bc2eaf3e0adb47684e1dc1dabfce084e2403a1..7fcbef2670dabedb04383f8a9844077a250986cd 100644 (file)
@@ -809,7 +809,8 @@ See `sh-feature'.")
     ;; The next entry is only used for defining the others
     (shell eval sh-append executable-font-lock-keywords
            ;; Using font-lock-string-face here confuses sh-get-indent-info.
-          '("\\\\[^A-Za-z0-9]" 0 font-lock-warning-face)
+           '("\\\\$" 0 font-lock-warning-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))
     (rpm eval sh-append rpm2