diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-04 17:23:50 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-04 17:23:50 -0600 |
| commit | 4ae0da15d47e628e4fe1133ba79bc6d9141069b9 (patch) | |
| tree | 60559177df1b53a9e286ce4fd8ddc44ec179cd64 /modules/modeline-config.el | |
| parent | 31e684eba4ad0aa1ad8973f0ac8c409ba591f620 (diff) | |
| download | dotemacs-4ae0da15d47e628e4fe1133ba79bc6d9141069b9.tar.gz dotemacs-4ae0da15d47e628e4fe1133ba79bc6d9141069b9.zip | |
fix: Resolve async buffer error and improve modeline spacing
- Fixed critical "Selecting deleted buffer" error on startup
- wttrin-mode-line-mode now activates after init completes
- Uses after-init-hook to prevent async buffer deletion
- Weather widget loads safely after Emacs finishes initializing
- Improved modeline right-side spacing
- Added 2 non-breaking spaces after misc-info segment
- Prevents weather icon from appearing flush with edge
- Non-breaking spaces survive right-align trimming
Diffstat (limited to 'modules/modeline-config.el')
| -rw-r--r-- | modules/modeline-config.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/modeline-config.el b/modules/modeline-config.el index 140d21cd..b1403539 100644 --- a/modules/modeline-config.el +++ b/modules/modeline-config.el @@ -156,7 +156,8 @@ Shows only in active window.") mode-line-format-right-align cj/modeline-vc-branch " " - cj/modeline-misc-info)) + cj/modeline-misc-info + " ")) ;; Mark all segments as risky-local-variable (required for :eval forms) (dolist (construct '(cj/modeline-buffer-name |
