summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-09-05 19:57:22 +0300
committerEli Zaretskii <eliz@gnu.org>2016-09-05 19:57:22 +0300
commit6acff25280dbb97b5e9ddfd872b33ceb36b0470a (patch)
tree24b7152457c11d14aefdf8952ce7d3500586be05 /lisp/progmodes
parentcfaf18a27c262694750400005e882f1cfc7ff2b0 (diff)
downloademacs-6acff25280dbb97b5e9ddfd872b33ceb36b0470a.tar.gz
emacs-6acff25280dbb97b5e9ddfd872b33ceb36b0470a.tar.bz2
emacs-6acff25280dbb97b5e9ddfd872b33ceb36b0470a.zip
Avoid assertion violations when scrolling narrowed buffer
* src/window.c (window_scroll_pixel_based): * src/xdisp.c (pos_visible_p): Don't allow simulated redisplay to start outside the accessible portion of the buffer. This avoids assertion violations when some Lisp narrows the buffer to less than the current window, and then attempts to scroll the buffer.
Diffstat (limited to 'lisp/progmodes')
0 files changed, 0 insertions, 0 deletions