diff options
| author | Matthew White <mehw.is.me@inventati.org> | 2021-08-24 21:16:09 +0000 |
|---|---|---|
| committer | Matthew White <mehw.is.me@inventati.org> | 2021-10-20 23:23:31 +0200 |
| commit | 2fea154c45ac2fc17a4cbe1741d6454760d87716 (patch) | |
| tree | 9320260835a799220b0682234493ef439228923c /CHANGELOG.md | |
| parent | 91419fb5997de269ec74170a5383074c8ee32166 (diff) | |
persp-remove-buffer: bury buffer walking windows in one way loop
A one way loop, with pre-defined start and end, prevents any infinite
ping-pong.
This is not just syntactic sugar. In a "while buried buffer found in
window" loop, there is the risk that when the buffer is buried in one
window, it may be un-buried in another (for "mystic" reasons) and the
loop will never end.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 20cae94..b69a34d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed +- `persp-remove-buffer`: when burying a buffer, walk windows rather than using a while loop, since the former isn't prone to infinite loops. - `make-persp`: document that executing BODY saves/restores the `current-buffer`. - `persp-set-buffer`: follow the coding style of `persp-add-buffer`. |
