On Sat, Feb 04 2017, Peter wrote:
> I was not sure of the use of "(syntax-table)" in the 'map-char-table
> statement - I tried changing it to be "my-syntax-table" but it made no
> difference to the results.
(syntax-table) returns the current syntax-table, i.e. the syntax-table
of the current buffer. In your example, map-char-table iterates over
the current syntax-table but then modify-syntax-entry modifies
my-syntax-table. So it looks OK. Though, you could change the entire
range without iteration like so:
(modify-syntax-entry (cons 0 (max-char)) "w" my-syntax-table)
I don't know why < and > don't work as they should.
Helmut