Commit bd24684b authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(sh-font-lock-paren): Handle continued lines in patterns.

parent f86711a4
2005-11-21 Stefan Monnier <>
* progmodes/sh-script.el (sh-font-lock-paren): Handle continued lines
in patterns.
2005-11-21 Juri Linkov <>
* custom.el (defcustom): Update link types in docstring.
......@@ -986,7 +986,11 @@ Point is at the beginning of the next line."
(when (memq (char-before) '(?\" ?\'))
(condition-case nil (progn (backward-sexp 1) t)
(error nil)))))
(forward-comment (- (point-max)))
(while (progn
(forward-comment (- (point-max)))
;; Maybe we've bumped into an escaped newline.
(sh-is-quoted-p (point)))
(backward-char 1))
(when (eq (char-before) ?|)
(backward-char 1) t)))
(when (save-excursion (backward-char 2) (looking-at ";;\\|in"))
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