Jan Vroonhof wrote:
> > Now go to the line beginning with `This program is
distributed
> > with...' and evaluate (buffer-syntactic-context). For me, it
> > evaluates to nil, which is bogus because it should be `block-comment'.
>
> It evaluates to `block-comment' for me (CC-mode 5.22).
Using 'xemacs -q -no-site-file' ?
Odd. If I do `xemacs -vanilla', then `C-x C-f foo.c', go to the exact
line and evaluate (buffer-syntactic-context), I get `nil'. If I do
almost anything else (e.g. evaluate (buffer-syntactic-context) at a
different line or `M-x font-lock-mode') first, then I get
`block-comment'.
--
Glynn Clements <glynn(a)sensei.co.uk>