[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 09 Dec 2006 01:01:21 -0500
Why not let `outline-regexp' go with the mode, although not through a
function as it's done now, but with defcustom.
The way this is done now is that major modes can set `outline-regexp'
as a buffer-local variable.
If the user sees this text via C-h v it will also give both the global and
the buffer-local value, thus making it fairly obvious what's going on.
Maybe `custom' should do similar: e.g. check whether the variable is locally
changed in some buffers and if so add a little blurb about the global
setting not taking effect in those buffers.
I think that is a good idea.