* progmodes/sh-script.el (sh-font-lock-paren): Handle case
patterns that are preceded by an open-paren (Bug#1320).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user