diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-21 09:11:38 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-21 09:11:38 -0400 |
| commit | eaabae3b01b8bdc05a5892492c06a8131c195a45 (patch) | |
| tree | 432b118a9cc0d742808a3d1944810b6f6067a7ad /tests/test-debug-wttrin-disable.el | |
| parent | 72cb7cfc64b884965835afaac3f3877fdb1dcb57 (diff) | |
| download | emacs-wttrin-main.tar.gz emacs-wttrin-main.zip | |
A one-time add-to-list put wttrin--location-history into savehist-additional-variables when savehist loaded. Any user who later setqs that list, a common config pattern for curating which histories persist, replaces it and drops the entry. The search history then silently never saves.
Re-assert the registration on savehist-save-hook, which runs at the top of every savehist-save. The variable is now in the list whenever a save happens, regardless of init order or a clobbering setq. Restore was never affected, since savehist reloads the value from explicit setq forms in its file.
The README persistence note now reflects this: the variable stays registered even if you set savehist-additional-variables yourself.
Diffstat (limited to 'tests/test-debug-wttrin-disable.el')
0 files changed, 0 insertions, 0 deletions
