(sh-get-kw): | is not among the allowed chars for a keyword.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Oct 2006 21:09:37 +0000 (21:09 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Oct 2006 21:09:37 +0000 (21:09 +0000)
lisp/ChangeLog
lisp/progmodes/sh-script.el

index 3d434df..2b55153 100644 (file)
@@ -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
index a15cc21..83b4bde 100644 (file)
@@ -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)))))