summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2005-05-01 22:19:14 +0000
committerNick Roberts <nickrob@snap.net.nz>2005-05-01 22:19:14 +0000
commit189cbdd6bb2d92882499667a309d8ee7f637115d (patch)
tree4f8c3f2ed5ffe2e4f03042c90fe2fc893b19d568 /src/charset.c
parentdc303ca3ef564d1bc96e82b5c20ddf0fc0e9f35c (diff)
downloademacs-189cbdd6bb2d92882499667a309d8ee7f637115d.tar.gz
(Fchars_in_region): Remove as obsolete.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/charset.c b/src/charset.c
index c03107a9c46..81708d37b7f 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1431,22 +1431,6 @@ The returned value is 0 for left-to-right and 1 for right-to-left. */)
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,