diff options
| author | Stefan Monnier | 2009-02-19 22:18:16 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-02-19 22:18:16 +0000 |
| commit | c9176b9f183e275620c3e25a51b5014ba09f1e19 (patch) | |
| tree | ab67fc175229be836d6bc401af17f984c511b962 | |
| parent | 3284522622938430722ff935cf6cf57739b75c1e (diff) | |
| download | emacs-c9176b9f183e275620c3e25a51b5014ba09f1e19.tar.gz emacs-c9176b9f183e275620c3e25a51b5014ba09f1e19.zip | |
(sh-font-lock-quoted-subshell): ' inside a "..." does not quote anything.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/progmodes/sh-script.el | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a3d7cac5d45..cd977569914 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2009-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * progmodes/sh-script.el (sh-font-lock-quoted-subshell): ' inside | ||
| 4 | a "..." does not quote anything. | ||
| 5 | |||
| 3 | * textmodes/rst.el (rst-mode-abbrev-table): Mark entries as `system'. | 6 | * textmodes/rst.el (rst-mode-abbrev-table): Mark entries as `system'. |
| 4 | 7 | ||
| 5 | 2009-02-19 Andreas Schwab <schwab@suse.de> | 8 | 2009-02-19 Andreas Schwab <schwab@suse.de> |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 847dd4f3fab..c5ca9bbd9c8 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1063,7 +1063,9 @@ subshells can nest." | |||
| 1063 | (< (point) limit))) | 1063 | (< (point) limit))) |
| 1064 | ;; unescape " inside a $( ... ) construct. | 1064 | ;; unescape " inside a $( ... ) construct. |
| 1065 | (case (char-after) | 1065 | (case (char-after) |
| 1066 | (?\' (forward-char 1) (skip-chars-forward "^'" limit)) | 1066 | (?\' (case state |
| 1067 | (double-quote nil) | ||
| 1068 | (t (forward-char 1) (skip-chars-forward "^'" limit)))) | ||
| 1067 | (?\\ (forward-char 1)) | 1069 | (?\\ (forward-char 1)) |
| 1068 | (?\" (case state | 1070 | (?\" (case state |
| 1069 | (double-quote (setq state (pop states))) | 1071 | (double-quote (setq state (pop states))) |