changeset 61997:9730403b7337

(Fchars_in_region): Remove as obsolete.
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 01 May 2005 22:19:14 +0000
parents 18c0da616450
children 6eaeb13eb0a9
files src/charset.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Sun May 01 22:18:14 2005 +0000
+++ b/src/charset.c	Sun May 01 22:19:14 2005 +0000
@@ -1431,22 +1431,6 @@
   return CHARSET_TABLE_INFO (charset, CHARSET_DIRECTION_IDX);
 }
 
-DEFUN ("chars-in-region", Fchars_in_region, Schars_in_region, 2, 2, 0,
-       doc: /* Return number of characters between BEG and END.  */)
-     (beg, end)
-     Lisp_Object beg, end;
-{
-  int from, to;
-
-  CHECK_NUMBER_COERCE_MARKER (beg);
-  CHECK_NUMBER_COERCE_MARKER (end);
-
-  from = min (XFASTINT (beg), XFASTINT (end));
-  to = max (XFASTINT (beg), XFASTINT (end));
-
-  return make_number (to - from);
-}
-
 /* Return the number of characters in the NBYTES bytes at PTR.
    This works by looking at the contents and checking for multibyte sequences.
    However, if the current buffer has enable-multibyte-characters = nil,