1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(sh-get-kw): | is not among the allowed chars for a keyword.

This commit is contained in:
Stefan Monnier 2006-10-10 21:09:37 +00:00
parent 1334cc0ca9
commit 0f9c4a9694
2 changed files with 6 additions and 1 deletions

View 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

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