summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-cstr.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-08-14 15:47:59 +0300
committerEli Zaretskii <eliz@gnu.org>2022-08-14 15:49:37 +0300
commita71c05b44de74fe16691f680df34c4534992e472 (patch)
tree0fdd2a19ea5297f83d2be1b8e609599572923200 /lisp/emacs-lisp/comp-cstr.el
parentb93e14fa0fd5833adbdd88ec86fccc4b59172302 (diff)
downloademacs-a71c05b44de74fe16691f680df34c4534992e472.tar.gz
emacs-a71c05b44de74fe16691f680df34c4534992e472.tar.bz2
emacs-a71c05b44de74fe16691f680df34c4534992e472.zip
Further speedups of redisplay of long and truncated lines
* src/xdisp.c (mode_line_update_needed, redisplay_window) (decode_mode_spec): Don't avoid calling current_column, as it is now fast enough. (redisplay_window) <optional_new_start>: Don't call 'move_it_to' if its result will not be used. (Flong_line_optimizations_p): New primitive. * src/indent.c (Fcurrent_column): Doc fix. (current_column, scan_for_column): When in a buffer with long and/or truncated lines, quickly return an approximate value. * src/window.c (Frecenter): Use the old text-mode code when the buffer has very long lines. * lisp/simple.el (line-move): Avoid costly calls to 'line-move-partial' and 'line-move-visual' when lines are truncated and/or very long. (move-beginning-of-line): Call 'line-beginning-position' instead of the slower 'skip-chars-backward'. * etc/NEWS: Announce 'long-line-optimizations-p'.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions