Fit the re-builder window to the buffer

* lisp/emacs-lisp/re-builder.el (re-builder): Fit the height to
the buffer (bug#56772).
This commit is contained in:
Juri Linkov 2022-09-05 20:58:27 +02:00 committed by Lars Ingebrigtsen
parent 6a2ee981c3
commit 1763cd4727

View file

@ -369,7 +369,8 @@ provided in the Commentary section of this library."
(get-buffer-create reb-buffer)
`((display-buffer-in-direction)
(direction . ,dir)
(dedicated . t))))))
(dedicated . t)
(window-height . fit-window-to-buffer))))))
(font-lock-mode 1)
(reb-initialize-buffer)))