Commit 866bf246 authored by Richard M. Stallman's avatar Richard M. Stallman

(validate_interval_range): Use BUF_INTERVALS.

parent 9fbf87cd
......@@ -124,7 +124,7 @@ validate_interval_range (object, begin, end, force)
if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end)
&& XINT (*end) <= BUF_ZV (b)))
args_out_of_range (*begin, *end);
i = b->intervals;
i = BUF_INTERVALS (b);
/* If there's no text, there are no properties. */
if (BUF_BEGV (b) == BUF_ZV (b))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment