diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-26 12:52:48 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-26 12:52:48 -0400 |
| commit | 06143c61c3782b24c738587ae5e1f427ceb0518c (patch) | |
| tree | 1e8ec8c6c77bdc331bce36b311c5daffdf3da8db /scripts | |
| parent | 9459a0b30f86adb9066312672c7bd96e70bc1f6f (diff) | |
| download | emacs-wttrin-06143c61c3782b24c738587ae5e1f427ceb0518c.tar.gz emacs-wttrin-06143c61c3782b24c738587ae5e1f427ceb0518c.zip | |
fix: keep saved locations and search history disjoint
Pressing d cleaned the location from history, but saving with s did not. A place saved under a friendly name kept its raw query as a separate history candidate, and removing the saved entry let that query resurface in the picker.
wttrin-save-location now drops the saved name and its query from history, and wttrin-remove-location drops both the removed name and its query (captured before removal). A new wttrin--drop-from-location-history helper does the work. A place now lives in the directory or in history, never both.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
