diff options
| author | Eli Zaretskii | 2017-07-03 18:57:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-07-03 18:57:01 +0300 |
| commit | 52bfb7d4d6595302b5261ff810951e0b3281352c (patch) | |
| tree | 0ce66e5db8fff172a6843af2666dbbf58bf3e267 /src/buffer.c | |
| parent | 4c9353a5840b285631a86a5bad2b48ea6276abf3 (diff) | |
| download | emacs-52bfb7d4d6595302b5261ff810951e0b3281352c.tar.gz emacs-52bfb7d4d6595302b5261ff810951e0b3281352c.zip | |
Avoid errors in vertical-motion when buffer is narrowed
* src/indent.c (Fvertical_motion): If need to start from
window-start, and it is outside of the accessible portion,
temporarily widen the buffer. This avoids errors in evil-mode.
Reported by James Nguyen <james@jojojames.com>.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions