Andreas Röhler <andreas.roehler(a)easy-emacs.de> writes:
Hi all,
`mark-defun' misses the last char, if a definition is
followed by a buffer-end.
As this bug seems caused by a line not needed AFAIU, it's
probably fine to drop it.
I don't understand the issue: If I insert, say, the definition of
`mark-defun' into *scratch* as the last thing, go inside it, do M-x
mark-defun RET, the last character gets marked just fine. Could you
describe how to reproduce the problem you're seeing?
Moreover,
- (beginning-of-defun)
- (re-search-backward "^\n" (- (point) 1) t))
+ (beginning-of-defun))
... this last line you're eliding affects the placement of the point,
i.e. the *beginning* of the region, not the end. Could you clarify?
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches