diff options
| author | Glenn Morris | 2003-09-02 17:37:01 +0000 |
|---|---|---|
| committer | Glenn Morris | 2003-09-02 17:37:01 +0000 |
| commit | 3154202d0256aae3f74fddeded1ce7414d66bcc2 (patch) | |
| tree | 5808e84ff031717254dac26a42bb37483f12d59b | |
| parent | 8e5331fe840a0d6a23b11f91b2e9afd40542205d (diff) | |
| download | emacs-3154202d0256aae3f74fddeded1ce7414d66bcc2.tar.gz emacs-3154202d0256aae3f74fddeded1ce7414d66bcc2.zip | |
(sh-font-lock-keywords): Use something other than
font-lock-string-face to highlight backslashes.
| -rw-r--r-- | lisp/progmodes/sh-script.el | 3 |
1 files changed, 2 insertions, 1 deletions
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'.") | |||
| 808 | 808 | ||
| 809 | ;; The next entry is only used for defining the others | 809 | ;; The next entry is only used for defining the others |
| 810 | (shell eval sh-append executable-font-lock-keywords | 810 | (shell eval sh-append executable-font-lock-keywords |
| 811 | '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face) | 811 | ;; Using font-lock-string-face here confuses sh-get-indent-info. |
| 812 | '("\\\\[^A-Za-z0-9]" 0 font-lock-warning-face) | ||
| 812 | '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 | 813 | '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 |
| 813 | font-lock-variable-name-face)) | 814 | font-lock-variable-name-face)) |
| 814 | (rpm eval sh-append rpm2 | 815 | (rpm eval sh-append rpm2 |