diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-10-04 16:12:32 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-10-04 16:12:32 +0000 |
commit | d2620e156cc35c1a6cd067f7f6186b2a8142df01 (patch) | |
tree | cdd2a99576fda28d691e4b6d28ee7eabcf3af8ce /src/search.c | |
parent | 3290320eecfdf21c70b963c8a20be75c4f38599f (diff) | |
download | emacs-d2620e156cc35c1a6cd067f7f6186b2a8142df01.tar.gz |
(skip_chars, Fmatch_data, Fstore_match_data): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/search.c b/src/search.c index 5ca23d89b03..c0a778697ad 100644 --- a/src/search.c +++ b/src/search.c @@ -434,9 +434,9 @@ skip_chars (forwardp, syntaxp, string, lim) bfox turned the ZV part on, and rms turned the BEGV part back on. */ if (XINT (lim) > ZV) - XFASTINT (lim) = ZV; + XSETFASTINT (lim, ZV); if (XINT (lim) < BEGV) - XFASTINT (lim) = BEGV; + XSETFASTINT (lim, BEGV); p = XSTRING (string)->data; pend = p + XSTRING (string)->size; @@ -1501,8 +1501,8 @@ Use `store-match-data' to reinstate the data in this list.") { if (EQ (last_thing_searched, Qt)) { - XFASTINT (data[2 * i]) = start; - XFASTINT (data[2 * i + 1]) = search_regs.end[i]; + XSETFASTINT (data[2 * i], start); + XSETFASTINT (data[2 * i + 1], search_regs.end[i]); } else if (BUFFERP (last_thing_searched)) { @@ -1587,7 +1587,7 @@ LIST should have been created by calling `match-data' previously.") if (MARKERP (marker)) { if (XMARKER (marker)->buffer == 0) - XFASTINT (marker) = 0; + XSETFASTINT (marker, 0); else XSETBUFFER (last_thing_searched, XMARKER (marker)->buffer); } @@ -1598,7 +1598,7 @@ LIST should have been created by calling `match-data' previously.") marker = Fcar (list); if (MARKERP (marker) && XMARKER (marker)->buffer == 0) - XFASTINT (marker) = 0; + XSETFASTINT (marker, 0); CHECK_NUMBER_COERCE_MARKER (marker, 0); search_regs.end[i] = XINT (marker); |