HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d387866
)
(Fchars_in_region): Fix mixing of Lisp_Object and int.
author
Andreas Schwab
<schwab@suse.de>
Tue, 14 Apr 1998 12:53:36 +0000
(12:53 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Tue, 14 Apr 1998 12:53:36 +0000
(12:53 +0000)
src/charset.c
patch
|
blob
|
blame
|
history
diff --git
a/src/charset.c
b/src/charset.c
index
4f132e9
..
3160ff9
100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-1104,7
+1104,7
@@
DEFUN ("chars-in-region", Fchars_in_region, Schars_in_region, 2, 2, 0,
from = min (XFASTINT (beg), XFASTINT (end));
to = max (XFASTINT (beg), XFASTINT (end));
- return
to - from
;
+ return
make_number (to - from)
;
}
/* Return the number of characters in the NBYTES bytes at PTR.