]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes in 'display_count_lines' when current buffer was killed
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Aug 2023 12:06:48 +0000 (15:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Aug 2023 12:06:48 +0000 (15:06 +0300)
commit8dbd5aa1eef9db956ad3a4ed73add23fe0e48268
treeb2e98187dec6501fea6b2504f0d3509132515254
parent47b4f4cf7839cda8e12ad5f808444cd0cf8f8824
Avoid crashes in 'display_count_lines' when current buffer was killed

* src/xdisp.c (Fformat_mode_line):
* src/fns.c (Fline_number_at_pos): Don't allow to count lines in a
dead buffer.  (Bug#65060)
src/fns.c
src/xdisp.c