Subject: "prepend" font-locking not working when an sh-mode buffer is opened for the first time

From: Ken Hori <[email-masked]>
Date: Fri, 18 Jun 2010 21:53:41 -0700

"prepend" font-lock keyword entries for sh-mode don't render as they
are intended
when I open an sh-mode buffer for the first time.

If I close the buffer and open it again, everything works fine.

Example:
("##+ \\(.+\\)$" 1 some-face prepend)
won't render correctly.