aboutsummaryrefslogtreecommitdiff
path: root/tests/test-wttrin--display-weather-focus.el
Commit message (Collapse)AuthorAgeFilesLines
* fix: don't steal focus when an async weather response rendersCraig Jennings2026-06-281-0/+45
wttrin--display-weather ran switch-to-buffer from the async callback, so a response arriving after the user moved to another buffer yanked them back to *wttr.in*. It now renders with set-buffer; selecting the buffer is the interactive command's job (wttrin-query already does it at invocation), so a late response updates the buffer in place without changing the selected window.