aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorMatthew White <mehw.is.me@inventati.org>2021-08-24 02:30:17 +0000
committerMatthew White <mehw.is.me@inventati.org>2021-10-20 23:23:31 +0200
commit34c9f6aaa0942795d5b50b67ad8842ac57e2b02f (patch)
treea9d85146d9808401c94db248641ca5a4659ecd99 /CHANGELOG.md
parentfddaba1fa61b832305d57607f9f827d09b05a773 (diff)
make-persp, persp-activate: force update current-buffer
Before executing BODY, 'make-persp' saves the current buffer, and then restores it after. Hence, if the 'current-buffer' is changed in BODY, that change is lost. Notify this in the docstring. Force 'persp-activate' to update the current buffer with the buffer in the current window.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 099c492..d830157 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -44,11 +44,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed
+- `make-persp`: document that executing BODY saves/restores the `current-buffer`.
- `persp-set-buffer`: follow the coding style of `persp-add-buffer`.
### Fixed
+- `persp-activate`: force update the `current-buffer` to the current window's buffer due to `make-persp` saving/restoring the `current-buffer` when executing it's BODY. This properly updates the `current-buffer` to what should be the real current buffer when switching to a new perspective.
- `persp-add-buffer`: discard unexisting buffer as argument.
- Added a workaround for potential problems caused by recursive minibuffer use.