comparison src/editfns.c @ 446:1ccc32a20af4 r21-2-38

Import from CVS: tag r21-2-38
author cvs
date Mon, 13 Aug 2007 11:37:21 +0200
parents 576fb035e263
children 54fa1a5c2d12
comparison
equal deleted inserted replaced
445:34f3776fcf0e 446:1ccc32a20af4
34 #include "events.h" /* for EVENTP */ 34 #include "events.h" /* for EVENTP */
35 #include "extents.h" 35 #include "extents.h"
36 #include "frame.h" 36 #include "frame.h"
37 #include "insdel.h" 37 #include "insdel.h"
38 #include "window.h" 38 #include "window.h"
39 #include "casetab.h"
39 #include "chartab.h" 40 #include "chartab.h"
40 #include "line-number.h" 41 #include "line-number.h"
41 42
42 #include "systime.h" 43 #include "systime.h"
43 #include "sysdep.h" 44 #include "sysdep.h"
1715 { 1716 {
1716 Bufpos begp1, endp1, begp2, endp2; 1717 Bufpos begp1, endp1, begp2, endp2;
1717 REGISTER Charcount len1, len2, length, i; 1718 REGISTER Charcount len1, len2, length, i;
1718 struct buffer *bp1, *bp2; 1719 struct buffer *bp1, *bp2;
1719 Lisp_Object trt = ((!NILP (current_buffer->case_fold_search)) ? 1720 Lisp_Object trt = ((!NILP (current_buffer->case_fold_search)) ?
1720 current_buffer->case_canon_table : Qnil); 1721 XCASE_TABLE_CANON (current_buffer->case_table) : Qnil);
1721 1722
1722 /* Find the first buffer and its substring. */ 1723 /* Find the first buffer and its substring. */
1723 1724
1724 bp1 = decode_buffer (buffer1, 1); 1725 bp1 = decode_buffer (buffer1, 1);
1725 get_buffer_range_char (bp1, start1, end1, &begp1, &endp1, GB_ALLOW_NIL); 1726 get_buffer_range_char (bp1, start1, end1, &begp1, &endp1, GB_ALLOW_NIL);