aboutsummaryrefslogtreecommitdiff
path: root/tests/test-wttrin--mode-line-tooltip.el
Commit message (Collapse)AuthorAgeFilesLines
* fix: mode-line tooltip always shows "Updated just now"Craig Jennings2026-04-041-0/+174
The tooltip was a static string computed at fetch time. Since every successful fetch sets the cache timestamp to now and immediately renders the tooltip, it was always "just now". Extract wttrin--mode-line-tooltip as a named function that computes age from the cache at call time. Set help-echo to this function so Emacs invokes it on hover, producing an accurate age like "Updated 12 minutes ago".