FKtPp writes:
As you can see, I am not very good at english,
You get your point across; it doesn't get better than that. ;-)
I use #'min and #'max is because I find the docstring saying
that BEG
and END could be a marker. I don't know if #'< or #'> can handle the
comparation of a marker with a integer, but #'min and #'max announced
they could in their docstring.
So does #'<.
And beside this, I find another possiable way of get into error of
"args out of range". If some bad guy or buggy program set both BEG and
END < 1 or > (1+ (buffer-size)), boom!! I will change the code to avoid
this...
Ah, good point. I still don't think that what are surely often logic
errors should pass like this, but if that's the way GNU does it, the
emulation may as well do so too.
Note that it needs to be (buffer-size buffer), not just (buffer-size).
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches