Mercurial > emacs
comparison src/search.c @ 1523:bd61aaa7828b
* search.c (Fstore_match_data): Don't assume Flength returns an
integer.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 31 Oct 1992 05:38:19 +0000 |
parents | 527af9fa8676 |
children | f4d848dea8ff |
comparison
equal
deleted
inserted
replaced
1522:19ccf004b172 | 1523:bd61aaa7828b |
---|---|
1300 match data came from a string. */ | 1300 match data came from a string. */ |
1301 last_thing_searched = Qt; | 1301 last_thing_searched = Qt; |
1302 | 1302 |
1303 /* Allocate registers if they don't already exist. */ | 1303 /* Allocate registers if they don't already exist. */ |
1304 { | 1304 { |
1305 int length = Flength (list) / 2; | 1305 int length = XFASTINT (Flength (list)) / 2; |
1306 | 1306 |
1307 if (length > search_regs.num_regs) | 1307 if (length > search_regs.num_regs) |
1308 { | 1308 { |
1309 if (search_regs.num_regs == 0) | 1309 if (search_regs.num_regs == 0) |
1310 { | 1310 { |