summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-09-17 18:18:56 +0300
committerEli Zaretskii <eliz@gnu.org>2011-09-17 18:18:56 +0300
commit1137e8b8eb6fbae76880b814d516377de30eddd3 (patch)
tree51e82ce03063d5940d0e9e27fff0f10f2587634b /lisp/emacs-lisp
parent8d5ed89901195abc4a5d660371ea26e849292ea6 (diff)
downloademacs-1137e8b8eb6fbae76880b814d516377de30eddd3.tar.gz
emacs-1137e8b8eb6fbae76880b814d516377de30eddd3.tar.bz2
emacs-1137e8b8eb6fbae76880b814d516377de30eddd3.zip
Fix bug #9470 with slow redisplay in huge single-paragraph buffers.
src/bidi.c (MAX_PARAGRAPH_SEARCH): New macro. (bidi_find_paragraph_start): Search back for paragraph beginning at most MAX_PARAGRAPH_SEARCH lines; if not found, return BEGV_BYTE. (bidi_move_to_visually_next): Only trigger paragraph-related computations when the last character is a newline or at EOB, not just any NEUTRAL_B. src/xdisp.c (reseat_at_next_visible_line_start): Keep information about the current paragraph and restore it after the call to reseat.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions