aboutsummaryrefslogtreecommitdiffstats
path: root/src/composite.c
diff options
context:
space:
mode:
authorGerd Moellmann2001-06-19 11:30:53 +0000
committerGerd Moellmann2001-06-19 11:30:53 +0000
commitfa9090b8f4da448c42a863e5f08dfadd06eb5fc0 (patch)
treeaa727b62f7936860663690fbdf95a7537af291da /src/composite.c
parent04d0b662827936c584efabbeaf29ab8bf81267c8 (diff)
downloademacs-fa9090b8f4da448c42a863e5f08dfadd06eb5fc0.tar.gz
emacs-fa9090b8f4da448c42a863e5f08dfadd06eb5fc0.zip
(Ffind_composition_internal): Accept ZV
and a string's end position as POS.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c
index 6db705cec4e..c18d8eb749c 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -782,12 +782,12 @@ See `find-composition' for more detail.")
782 if (!NILP (string)) 782 if (!NILP (string))
783 { 783 {
784 CHECK_STRING (string, 2); 784 CHECK_STRING (string, 2);
785 if (XINT (pos) < 0 || XINT (pos) >= XSTRING (string)->size) 785 if (XINT (pos) < 0 || XINT (pos) > XSTRING (string)->size)
786 args_out_of_range (string, pos); 786 args_out_of_range (string, pos);
787 } 787 }
788 else 788 else
789 { 789 {
790 if (XINT (pos) < BEGV || XINT (pos) >= ZV) 790 if (XINT (pos) < BEGV || XINT (pos) > ZV)
791 args_out_of_range (Fcurrent_buffer (), pos); 791 args_out_of_range (Fcurrent_buffer (), pos);
792 } 792 }
793 793