Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support minibuffer-history-variable being disabled #2965

Merged
merged 1 commit into from
Apr 11, 2022
Merged

Conversation

basil-conto
Copy link
Collaborator

Emacs 28 minibuffer history can be disabled with a value of t.

  • ivy.el (ivy--update-history, ivy-reverse-i-search-kill): Leave history variable alone if it is t.
    (ivy--label-and-delete-dups): Avoid unnecessarily creating a hash table for zero entries.
    (ivy--reverse-i-search-symbol): Rename...
    (ivy--reverse-i-search-history): ...to this more accurate name.
    All uses changed.
    (ivy-history-contents): Return nil if history variable is t.
    Ensure ivy--reverse-i-search-history is set to a valid value.

Fixes #2923.
Cc: @minad, @NightMachinary

Emacs 28 minibuffer history can be disabled with a value of t.

* ivy.el (ivy--update-history, ivy-reverse-i-search-kill): Leave
history variable alone if it is t.
(ivy--label-and-delete-dups): Avoid unnecessarily creating a hash
table for zero entries.
(ivy--reverse-i-search-symbol): Rename...
(ivy--reverse-i-search-history): ...to this more accurate name.
All uses changed.
(ivy-history-contents): Return nil if history variable is t.
Ensure ivy--reverse-i-search-history is set to a valid value.

Fixes #2923.
@basil-conto basil-conto added the compat Issues relating to backward/forward compatibility label Apr 6, 2022
@basil-conto basil-conto merged commit 7489968 into master Apr 11, 2022
@basil-conto basil-conto deleted the blc/hist branch April 11, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat Issues relating to backward/forward compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support history=t in Ivy
1 participant