aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 16:12:32 +0000
committerKarl Heuer1994-10-04 16:12:32 +0000
commitc235cce70362414fa1f3edde98bd3677b907ec31 (patch)
tree9cb5f95c455ec108197c820befd9e0dce4bf200f /src
parent22719df2b32462b02d50ba6322d31d32beb46db8 (diff)
downloademacs-c235cce70362414fa1f3edde98bd3677b907ec31.tar.gz
emacs-c235cce70362414fa1f3edde98bd3677b907ec31.zip
(skip_chars, Fmatch_data, Fstore_match_data): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src')
-rw-r--r--src/search.c12
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)
434 bfox turned the ZV part on, and rms turned the 434 bfox turned the ZV part on, and rms turned the
435 BEGV part back on. */ 435 BEGV part back on. */
436 if (XINT (lim) > ZV) 436 if (XINT (lim) > ZV)
437 XFASTINT (lim) = ZV; 437 XSETFASTINT (lim, ZV);
438 if (XINT (lim) < BEGV) 438 if (XINT (lim) < BEGV)
439 XFASTINT (lim) = BEGV; 439 XSETFASTINT (lim, BEGV);
440 440
441 p = XSTRING (string)->data; 441 p = XSTRING (string)->data;
442 pend = p + XSTRING (string)->size; 442 pend = p + XSTRING (string)->size;
@@ -1501,8 +1501,8 @@ Use `store-match-data' to reinstate the data in this list.")
1501 { 1501 {
1502 if (EQ (last_thing_searched, Qt)) 1502 if (EQ (last_thing_searched, Qt))
1503 { 1503 {
1504 XFASTINT (data[2 * i]) = start; 1504 XSETFASTINT (data[2 * i], start);
1505 XFASTINT (data[2 * i + 1]) = search_regs.end[i]; 1505 XSETFASTINT (data[2 * i + 1], search_regs.end[i]);
1506 } 1506 }
1507 else if (BUFFERP (last_thing_searched)) 1507 else if (BUFFERP (last_thing_searched))
1508 { 1508 {
@@ -1587,7 +1587,7 @@ LIST should have been created by calling `match-data' previously.")
1587 if (MARKERP (marker)) 1587 if (MARKERP (marker))
1588 { 1588 {
1589 if (XMARKER (marker)->buffer == 0) 1589 if (XMARKER (marker)->buffer == 0)
1590 XFASTINT (marker) = 0; 1590 XSETFASTINT (marker, 0);
1591 else 1591 else
1592 XSETBUFFER (last_thing_searched, XMARKER (marker)->buffer); 1592 XSETBUFFER (last_thing_searched, XMARKER (marker)->buffer);
1593 } 1593 }
@@ -1598,7 +1598,7 @@ LIST should have been created by calling `match-data' previously.")
1598 1598
1599 marker = Fcar (list); 1599 marker = Fcar (list);
1600 if (MARKERP (marker) && XMARKER (marker)->buffer == 0) 1600 if (MARKERP (marker) && XMARKER (marker)->buffer == 0)
1601 XFASTINT (marker) = 0; 1601 XSETFASTINT (marker, 0);
1602 1602
1603 CHECK_NUMBER_COERCE_MARKER (marker, 0); 1603 CHECK_NUMBER_COERCE_MARKER (marker, 0);
1604 search_regs.end[i] = XINT (marker); 1604 search_regs.end[i] = XINT (marker);