From 0f9c4a9694078e41e70426e4eae3bbb52cab0d2a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 10 Oct 2006 21:09:37 +0000 Subject: [PATCH] (sh-get-kw): | is not among the allowed chars for a keyword. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/sh-script.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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))))) -- 2.39.2