summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-20 16:18:23 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-20 16:18:23 +0000
commita63e2e4d744ec16938773be85c49089733315cfa (patch)
treeafb5f623619c2c7276d4c3d829e2135f2fc52e63 /lisp
parent9e6b220689ac0c79cf985178c33878d0aa7acc1a (diff)
downloademacs-a63e2e4d744ec16938773be85c49089733315cfa.tar.gz
(sh-font-lock-keywords): Highlight \ only with non-alphanumeric char.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/sh-script.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 039dc470a16..7ec52dcfcff 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -526,7 +526,7 @@ See `sh-feature'.")
;; The next entry is only used for defining the others
(shell eval sh-append executable-font-lock-keywords
- '("\\\\." 0 font-lock-string-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)))
"*Rules for highlighting shell scripts. See `sh-feature'.")