aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorGerd Möllmann2024-08-05 06:32:17 +0200
committerGerd Möllmann2024-08-05 06:32:17 +0200
commit6a137e0c1dd8670d95134bab4ef8d6103c2c9602 (patch)
treec9b5440ca8dfa8a0fb9389b487655af6672bfd7f /src/buffer.c
parent05c19f8e5439606f841689ef325a867951e04902 (diff)
parent5ecd35555e9e20de9717f0184f58a15d8a2e68a3 (diff)
downloademacs-6a137e0c1dd8670d95134bab4ef8d6103c2c9602.tar.gz
emacs-6a137e0c1dd8670d95134bab4ef8d6103c2c9602.zip
Merge branch 'master' into scratch/igc
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d2cd3bf9cdc..eea0703c898 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2015,6 +2015,13 @@ cleaning up all windows currently displaying the buffer to be killed. */)
2015 buffer (bug#10114). */ 2015 buffer (bug#10114). */
2016 replace_buffer_in_windows (buffer); 2016 replace_buffer_in_windows (buffer);
2017 2017
2018 /* For dead windows that have not been collected yet, remove this
2019 buffer from those windows' lists of previously and next shown
2020 buffers and remove any 'quit-restore' or 'quit-restore-prev'
2021 parameters mentioning the buffer. */
2022 if (XFIXNUM (BVAR (b, display_count)) > 0)
2023 window_discard_buffer_from_dead_windows (buffer);
2024
2018 /* Exit if replacing the buffer in windows has killed our buffer. */ 2025 /* Exit if replacing the buffer in windows has killed our buffer. */
2019 if (!BUFFER_LIVE_P (b)) 2026 if (!BUFFER_LIVE_P (b))
2020 return Qt; 2027 return Qt;