diff --git a/CHANGELOG.md b/CHANGELOG.md index 59a6c552..f4bf2436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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, @@ -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 diff --git a/selectrum.el b/selectrum.el index 0f715209..07706a5c 100644 --- a/selectrum.el +++ b/selectrum.el @@ -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)))