Commit ff5e95b7 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fset_window_hscroll): Don't reject args > SHORTBITS.

parent 725ec4bc
......@@ -307,8 +307,6 @@ NCOL should be zero or positive.")
CHECK_NUMBER (ncol, 1);
if (XINT (ncol) < 0) XSETFASTINT (ncol, 0);
if (XFASTINT (ncol) >= (1 << (SHORTBITS - 1)))
args_out_of_range (ncol, Qnil);
w = decode_window (window);
if (XINT (w->hscroll) != XINT (ncol))
XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */
......
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