emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1763cd4727: Fit the re-builder window to the buffer


From: Lars Ingebrigtsen
Subject: master 1763cd4727: Fit the re-builder window to the buffer
Date: Mon, 5 Sep 2022 15:22:02 -0400 (EDT)

branch: master
commit 1763cd4727a4ff38a9ea89e1d532017adff05c1e
Author: Juri Linkov <juri@linkov.net>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 e6e8bb202d..897c35b5b1 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]