G. Milde wrote:
No, Word_Chars is a buffer local variable: While define_word() defines word chars globally (i.e. for all buffers and modes), the buffer local variable allows different settings for different modes.
Do you think it would make sense to add another level of local variables -- the mode-local variables. The search order for a variable would then be: 1. buffer local 2. mode local 3. global (this search order could be coded into get_blocal_var or a new function could be added) This way one could define Word_Chars for all buffers with the same mode and not just for the current buffer. Marko -------------------------- To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with the word "unsubscribe" in the message body. Need help? Email <jed-users-owner@xxxxxxxxxxx>.