commit: `beginning-of-defun-function', `end-of-defun-function'
Stephen J. Turnbull
stephen at xemacs.org
Thu Oct 8 09:35:50 EDT 2009
Andreas Roehler writes:
> > > Setting it globally would make the default unreachable.
> > I don't understand this comment. Is it just saying the obvious, that
> > to manipulate the variable's global value you must use `default-value'
> > and `setq-default'?
> No, intended to say: it should never have a global value different from nil.
> Default means here default behaviour: the call to beginning-of-defun-raw.
> Sorry, should I not expressed that clearly enough.
Such advice should be in the docstring for the variable; I don't think
it's really needed in the ChangeLog (where nobody will read it, I hope
-- if they do read it, it probably means it's buggy! ;-)
In fact, I wonder if it wouldn't be best to have the default be
beginning-of-defun-raw. Being permanent-local should be enough
protection for the default. (Didn't you sugest that on emacs-devel?)
More information about the XEmacs-Patches