[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/charset.c
From: |
Nick Roberts |
Subject: |
[Emacs-diffs] Changes to emacs/src/charset.c |
Date: |
Sun, 01 May 2005 18:19:14 -0400 |
Index: emacs/src/charset.c
diff -c emacs/src/charset.c:1.139 emacs/src/charset.c:1.140
*** emacs/src/charset.c:1.139 Tue Oct 26 22:38:50 2004
--- emacs/src/charset.c Sun May 1 22:19:14 2005
***************
*** 1431,1452 ****
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,
--- 1431,1436 ----
- [Emacs-diffs] Changes to emacs/src/charset.c,
Nick Roberts <=