Mysterious font-locking problems

It appears that newly-opened files don’t have buffer-file-names until
they’re saved. I may have to do something fancy.