From 1763cd4727a4ff38a9ea89e1d532017adff05c1e Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 5 Sep 2022 20:58:27 +0200 Subject: [PATCH] Fit the re-builder window to the buffer * lisp/emacs-lisp/re-builder.el (re-builder): Fit the height to the buffer (bug#56772). --- lisp/emacs-lisp/re-builder.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index e6e8bb202da..897c35b5b19 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el @@ -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))) -- 2.39.2