diff options
| author | Matthew White <mehw.is.me@inventati.org> | 2021-05-31 12:13:48 +0000 |
|---|---|---|
| committer | Matthew White <mehw.is.me@inventati.org> | 2021-10-21 01:27:37 +0200 |
| commit | 47ad2af21ea9507644ebf5af9e2e76f0a2d8b9c8 (patch) | |
| tree | 5a2460c043693e1a9f564a68e1bc369b922f2011 /CHANGELOG.md | |
| parent | 18634f6dce7ceed1fb1fc930ebce2e417a0aefa2 (diff) | |
persp-new: properly insert the initial-scratch-message
Like 'command-line-1' does, we need to 'substitute-command-keys' in
'initial-scratch-message'. Unsetting the scratch buffer's modified
flag is also a good idea.
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 7f4ba3c..fa139f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed +- `persp-new`: properly substitute command keys when inserting `initial-scratch-message` into scratch buffers. - `persp-new`: do not recreate existing perspectives. This prevents from resetting perspectives to a state where in the perspective there's only the scratch buffer. - `persp-reset-windows`: set `switch-to-buffer-preserve-window-point` to `nil` before calling `delete-window`, that up to Emacs 27.2 updates `window-prev-buffers` of all windows, unless the former is turned off. - `persp-remove-buffer`: force update the `current-buffer` to the current window's buffer due to `with-selected-window` 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 burying the current buffer. |
