Commit 3e8ae8a6 authored by Chong Yidong's avatar Chong Yidong
Browse files

* progmodes/sh-script.el (sh-font-lock-paren): Handle case

patterns that are preceded by an open-paren (Bug#1320).
parent ab276820
2009-10-24 Chong Yidong <cyd@stupidchicken.com>
* progmodes/sh-script.el (sh-font-lock-paren): Handle case
patterns that are preceded by an open-paren (Bug#1320).
2009-10-24 Sven Joachim <svenjoac@gmx.de>
* files.el (delete-directory): Delete symlinks to directories with
......
......@@ -1109,6 +1109,9 @@ subshells can nest."
(when (memq (char-before) '(?\" ?\'))
(condition-case nil (progn (backward-sexp 1) t)
(error nil)))))
;; Patterns can be preceded by an open-paren (Bug#1320).
(if (= (char-before (point)) ?\()
(backward-char 1))
(while (progn
(forward-comment (- (point-max)))
;; Maybe we've bumped into an escaped newline.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment