make vars buffer-local beginning-of-defun-function
andreas.roehler at online.de
Wed Oct 7 11:02:52 EDT 2009
Suggest to make vars `beginning-of-defun-function',
Should some mode set it globally by mistake, it will
take Emacs-Lisp beginning-of-defun with all the
other ones - i.e. the default then is unreachable.
To prevent this bug, setting it buffer-local
shouldn't be left to the mode, but should be done here.
Patch attached. IMHO it's not worth a changelog, as
`beginning-of-defun-function' is introduced fairly new,
no habits to change so far.
Should I commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 809 bytes
Desc: not available
Url : http://calypso.tux.org/pipermail/xemacs-patches/attachments/20091007/af00b43d/attachment-0003.bin
More information about the XEmacs-Patches