aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-11-27 20:44:44 +0000
committerStefan Monnier2005-11-27 20:44:44 +0000
commitec121b963251ab28c0be548d3cf71f3da1e678a9 (patch)
treea186a514b75c446367e737509afb10b25ca6c140
parent161ef3be43bcbca8ae5bbe802688fa4a7699663a (diff)
downloademacs-ec121b963251ab28c0be548d3cf71f3da1e678a9.tar.gz
emacs-ec121b963251ab28c0be548d3cf71f3da1e678a9.zip
(sh-font-lock-syntactic-keywords): \ doesn't escape single quotes.
-rw-r--r--lisp/progmodes/sh-script.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index f6928a72554..5728499db43 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1002,6 +1002,8 @@ Point is at the beginning of the next line."
1002 ;; The list of special chars is taken from the single-unix spec 1002 ;; The list of special chars is taken from the single-unix spec
1003 ;; of the shell command language (under `quoting') but with `$' removed. 1003 ;; of the shell command language (under `quoting') but with `$' removed.
1004 `(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 ,sh-st-symbol) 1004 `(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 ,sh-st-symbol)
1005 ;; In a '...' the backslash is not escaping.
1006 ("\\(\\\\\\)'" 1 ,sh-st-punc)
1005 ;; Make sure $@ and @? are correctly recognized as sexps. 1007 ;; Make sure $@ and @? are correctly recognized as sexps.
1006 ("\\$\\([?@]\\)" 1 ,sh-st-symbol) 1008 ("\\$\\([?@]\\)" 1 ,sh-st-symbol)
1007 ;; Find HEREDOC starters and add a corresponding rule for the ender. 1009 ;; Find HEREDOC starters and add a corresponding rule for the ender.