]> git.eshelyaron.com Git - emacs.git/commit
Avoid calling 'current_column' in buffers with long lines.
authorEli Zaretskii <eliz@gnu.org>
Sat, 23 Jul 2022 14:43:40 +0000 (17:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 23 Jul 2022 14:43:40 +0000 (17:43 +0300)
commitfc53961c1df8bee07b6a1d461d31f449b66f1d65
tree09cf32b15c81c3b99b392f297d8a73680f134584
parent350e97d78e7803650c6dd2bf46fcfece8e2b4b32
Avoid calling 'current_column' in buffers with long lines.

* src/xdisp.c (decode_mode_spec, redisplay_window)
(mode_line_update_needed):
* src/indent.c (Fcurrent_column): In a buffer with long-line
optimizations enabled, avoid calling 'current_column', which is
very slow in that case.
src/indent.c
src/xdisp.c