diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-09-05 19:57:22 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-09-05 19:57:22 +0300 |
commit | 6acff25280dbb97b5e9ddfd872b33ceb36b0470a (patch) | |
tree | 24b7152457c11d14aefdf8952ce7d3500586be05 /lisp/progmodes/cc-engine.el | |
parent | cfaf18a27c262694750400005e882f1cfc7ff2b0 (diff) | |
download | emacs-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/cc-engine.el')
0 files changed, 0 insertions, 0 deletions