Mercurial > emacs
changeset 52549:90a4382900b0
(sh-font-lock-keywords): Highlight escaped EOLs differently from other
backslash constructs.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 19 Sep 2003 17:10:57 +0000 |
parents | 088a99a13c00 |
children | 75c282492c17 |
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 Fri Sep 19 15:50:56 2003 +0000 +++ b/lisp/progmodes/sh-script.el Fri Sep 19 17:10:57 2003 +0000 @@ -809,7 +809,8 @@ ;; 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