Mercurial > emacs
changeset 22739:f0c8af6c2dfd
(Fchars_in_region): Coerce markers.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 12 Jul 1998 03:15:53 +0000 |
parents | d35510185a2d |
children | 1e47dd38609d |
files | src/charset.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c Sun Jul 12 03:14:44 1998 +0000 +++ b/src/charset.c Sun Jul 12 03:15:53 1998 +0000 @@ -1128,6 +1128,9 @@ { int from, to; + CHECK_NUMBER_COERCE_MARKER (beg, 0); + CHECK_NUMBER_COERCE_MARKER (end, 1); + from = min (XFASTINT (beg), XFASTINT (end)); to = max (XFASTINT (beg), XFASTINT (end));