From: Stefan Monnier Date: Tue, 10 Oct 2006 21:09:37 +0000 (+0000) Subject: (sh-get-kw): | is not among the allowed chars for a keyword. X-Git-Tag: emacs-pretest-22.0.90~165 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f9c4a9694078e41e70426e4eae3bbb52cab0d2a;p=emacs.git (sh-get-kw): | is not among the allowed chars for a keyword. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d434dfed15..2b5515349bf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-10-10 Stefan Monnier + + * progmodes/sh-script.el (sh-get-kw): | is not among the allowed chars + for a keyword. + 2006-10-09 Stefan Monnier * newcomment.el (comment-valid-prefix-p): Make the check diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index a15cc216f75..83b4bdea759 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -2517,7 +2517,7 @@ If AND-MOVE is non-nil then move to end of word." (goto-char where)) (prog1 (buffer-substring (point) - (progn (skip-chars-forward "^ \t\n;&")(point))) + (progn (skip-chars-forward "^ \t\n;&|()")(point))) (unless and-move (goto-char start)))))