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)))))