diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-02-04 12:50:55 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-02-04 12:50:55 -0500 |
commit | 57024e1e9314501b103a4d36b9b166761a2ad756 (patch) | |
tree | 1e60e5831cc5631fdabc8ae26951260326d27220 /lisp/emacs-lisp/comp.el | |
parent | a4587646fabf2b7f0cb19a7e0bee090f9106a73a (diff) | |
download | emacs-57024e1e9314501b103a4d36b9b166761a2ad756.tar.gz emacs-57024e1e9314501b103a4d36b9b166761a2ad756.tar.bz2 emacs-57024e1e9314501b103a4d36b9b166761a2ad756.zip |
(w->base_line_number): Rework the way we flush the cache
* src/xdisp.c (BASE_LINE_NUMBER_VALID_P): New macro.
(try_scrolling): Use it.
(redisplay_window, Fformat_mode_line): Use it to flush the
base_line_number (if it's stale) once at the beginning.
(decode_mode_spec): Don't use (or set) `w->start` and
`w->base_line_number` when operating on another buffer!
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions