# HG changeset patch # User Richard M. Stallman # Date 827338703 0 # Node ID e36c046e28b1fede38321a5235b39aaf0dba4481 # Parent 831061a3e4f1c841c3d47dc52196f94ffc15ac5d (sh-font-lock-keywords): Highlight \ only with non-alphanumeric char. diff -r 831061a3e4f1 -r e36c046e28b1 lisp/progmodes/sh-script.el --- a/lisp/progmodes/sh-script.el Wed Mar 20 14:51:42 1996 +0000 +++ b/lisp/progmodes/sh-script.el Wed Mar 20 16:18:23 1996 +0000 @@ -526,7 +526,7 @@ ;; 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'.")