diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-20 22:23:29 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-20 22:23:29 -0400 |
| commit | 4ac1b8161f7206592fa3d8efbf7eabb5c51b7bc6 (patch) | |
| tree | c49ca9f4497ac387ce27794c34fe6a5fef723095 /modules/show-kill-ring.el | |
| parent | feedb78a517a1e86f6bb467756aa2605c7477223 (diff) | |
| download | dotemacs-4ac1b8161f7206592fa3d8efbf7eabb5c51b7bc6.tar.gz dotemacs-4ac1b8161f7206592fa3d8efbf7eabb5c51b7bc6.zip | |
fix(dashboard): trim padding newlines and reset window-start on open
The dashboard often opened already scrolled: content sat partly above the visible window with empty lines stranded at the bottom. There were two causes. The startupify list inserted five padding newlines that pushed the content past one screenful, and cj/dashboard-only moved point to point-min without resetting window-start, so a previously-scrolled view leaked into the next display.
I trimmed the padding to one newline after the banner title and one before the items, and added a set-window-start to point-min in cj/dashboard-only so the view always starts at the top. A characterization test locks the window-start reset.
Diffstat (limited to 'modules/show-kill-ring.el')
0 files changed, 0 insertions, 0 deletions
