changeset 73327:5e9926b80061

(sh-get-kw): | is not among the allowed chars for a keyword.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 10 Oct 2006 21:09:37 +0000
parents c8f96b8b18b7
children 0ca679ea45cb
files lisp/ChangeLog lisp/progmodes/sh-script.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <monnier@iro.umontreal.ca>
+
+	* progmodes/sh-script.el (sh-get-kw): | is not among the allowed chars
+	for a keyword.
+
 2006-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* newcomment.el (comment-valid-prefix-p): Make the check
--- 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)))))