aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-03-20 16:18:23 +0000
committerRichard M. Stallman1996-03-20 16:18:23 +0000
commitb48a16d28d875ae79c5d6aeb8a56aadb70d0c4a7 (patch)
treed10f51dedf94bbca9cc68f7a689401d0ed5da2e1
parent8df9abae9e3c445fc707c5c0aecc46000bbacbcc (diff)
downloademacs-b48a16d28d875ae79c5d6aeb8a56aadb70d0c4a7.tar.gz
emacs-b48a16d28d875ae79c5d6aeb8a56aadb70d0c4a7.zip
(sh-font-lock-keywords): Highlight \ only with non-alphanumeric char.
-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'.")
526 526
527 ;; The next entry is only used for defining the others 527 ;; The next entry is only used for defining the others
528 (shell eval sh-append executable-font-lock-keywords 528 (shell eval sh-append executable-font-lock-keywords
529 '("\\\\." 0 font-lock-string-face) 529 '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face)
530 '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 530 '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1
531 font-lock-variable-name-face))) 531 font-lock-variable-name-face)))
532 "*Rules for highlighting shell scripts. See `sh-feature'.") 532 "*Rules for highlighting shell scripts. See `sh-feature'.")