aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-05 23:44:20 +0000
committerRichard M. Stallman1995-10-05 23:44:20 +0000
commitff5e95b7c43c1a8a89f3e0ce42d1df780928cc33 (patch)
tree1fb5b5bed677228e9f5068df21ce304053c2f146 /src
parent725ec4bcb5568faf3c93b52b348b1cd1711a9af7 (diff)
downloademacs-ff5e95b7c43c1a8a89f3e0ce42d1df780928cc33.tar.gz
emacs-ff5e95b7c43c1a8a89f3e0ce42d1df780928cc33.zip
(Fset_window_hscroll): Don't reject args > SHORTBITS.
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 1a506767460..3ea58035fa8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -307,8 +307,6 @@ NCOL should be zero or positive.")
307 307
308 CHECK_NUMBER (ncol, 1); 308 CHECK_NUMBER (ncol, 1);
309 if (XINT (ncol) < 0) XSETFASTINT (ncol, 0); 309 if (XINT (ncol) < 0) XSETFASTINT (ncol, 0);
310 if (XFASTINT (ncol) >= (1 << (SHORTBITS - 1)))
311 args_out_of_range (ncol, Qnil);
312 w = decode_window (window); 310 w = decode_window (window);
313 if (XINT (w->hscroll) != XINT (ncol)) 311 if (XINT (w->hscroll) != XINT (ncol))
314 XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */ 312 XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */