# HG changeset patch # User Stefan Monnier # Date 1160514577 0 # Node ID 5e9926b800614839ecdff99d32064a2db5b2f271 # Parent c8f96b8b18b7496eb3538d2d892d603f7172f09e (sh-get-kw): | is not among the allowed chars for a keyword. diff -r c8f96b8b18b7 -r 5e9926b80061 lisp/ChangeLog --- a/lisp/ChangeLog Tue Oct 10 16:11:57 2006 +0000 +++ b/lisp/ChangeLog Tue Oct 10 21:09:37 2006 +0000 @@ -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 -r c8f96b8b18b7 -r 5e9926b80061 lisp/progmodes/sh-script.el --- a/lisp/progmodes/sh-script.el Tue Oct 10 16:11:57 2006 +0000 +++ b/lisp/progmodes/sh-script.el Tue Oct 10 21:09:37 2006 +0000 @@ -2517,7 +2517,7 @@ (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)))))