Skip to content

Commit

Permalink
[#35] Bind resize-mini-windows to t
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Apr 17, 2020
1 parent 00cbbf2 commit 08b165c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ The format is based on [Keep a Changelog].
([#44]).
* You can now access standard minibuffer history using `M-p` and `M-n`
([#4], [#38]).
* Previously, setting `resize-mini-windows` to nil would cause
Selectrum to be unable to display any candidates. This has been
fixed by having Selectrum bind the variable to `grow-only` when
entering the minibuffer ([#35]).

### Bugs fixed
* You can now use the undo system in the minibuffer. Previously,
Expand Down Expand Up @@ -85,6 +89,7 @@ The format is based on [Keep a Changelog].
[#32]: https://github.com/raxod502/selectrum/issues/32
[#33]: https://github.com/raxod502/selectrum/pull/33
[#34]: https://github.com/raxod502/selectrum/pull/34
[#35]: https://github.com/raxod502/selectrum/issues/35
[#38]: https://github.com/raxod502/selectrum/pull/38
[#39]: https://github.com/raxod502/selectrum/issues/39
[#44]: https://github.com/raxod502/selectrum/pull/44
Expand Down
1 change: 1 addition & 0 deletions selectrum.el
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ select one of the listed candidates (so, for example,
(let* ((minibuffer-allow-text-properties t)
;; Not currently supported as all of our state is global.
(enable-recursive-minibuffers nil)
(resize-mini-windows 'grow-only)
(minibuffer-history-variable history)
(selectrum--active-p t)
(selected (read-from-minibuffer prompt nil keymap nil history)))
Expand Down

0 comments on commit 08b165c

Please sign in to comment.