aboutsummaryrefslogtreecommitdiff
path: root/tests/test-integration-debug.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 00:37:00 -0400
committerCraig Jennings <c@cjennings.net>2026-09-13 09:34:41 -0500
commitcb7019387d8b5bd7ebd385272126accfd37e4b1b (patch)
tree09942e20cf6923d614b8c88ff892e93637805449 /tests/test-integration-debug.el
parent37e1c94d523e1d9b96ac8d8acbb488636f31c2cc (diff)
downloademacs-wttrin-cb7019387d8b5bd7ebd385272126accfd37e4b1b.tar.gz
emacs-wttrin-cb7019387d8b5bd7ebd385272126accfd37e4b1b.zip
feat: add wttrin-hide-follow-line to hide the wttr.in follow line
I added a boolean defcustom, wttrin-hide-follow-line (default nil), that suppresses the "Follow @igor_chubin for wttr.in updates" line in the weather buffer. When it's on, wttrin--build-url adds the wttr.in F flag to the request, so the service omits the line server-side. That stays correct across languages, where a local regex on the English text would miss translated responses. The helper wttrin--effective-display-options folds F into wttrin-display-options when hiding and F isn't already there, so the toggle and the options string compose without duplicating the flag. The default is off to keep current behavior on upgrade and to leave the upstream author's follow request in place unless the user opts out. It affects the weather buffer only. The mode-line uses its own compact format with no follow line.
Diffstat (limited to 'tests/test-integration-debug.el')
0 files changed, 0 insertions, 0 deletions