emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/go-mode 34e7efe 356/495: cmd/guru: emacs: do not shrink re


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 34e7efe 356/495: cmd/guru: emacs: do not shrink results window
Date: Sat, 7 Aug 2021 09:05:47 -0400 (EDT)

branch: elpa/go-mode
commit 34e7efe673fffaa1b3c64b245198d9db26816f43
Author: Konstantin Shaposhnikov <k.shaposhnikov@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>

    cmd/guru: emacs: do not shrink results window
    
    This fixes the following usability issues:
    
    - when go-guru is called twice in a row and the output from the second 
invocation
      is bigger then this output is not fully visible
    - output window could be re-used by other packages (such as helm) that are 
not
      usable with the shrank window
    
    Change-Id: I86d522006d29e945a71b96c9d13a1a39572bdb3b
    Reviewed-on: https://go-review.googlesource.com/19780
    Reviewed-by: Dominik Honnef <dominik@honnef.co>
    Reviewed-by: Alan Donovan <adonovan@google.com>
---
 guru_import/cmd/guru/guru.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/guru_import/cmd/guru/guru.el b/guru_import/cmd/guru/guru.el
index d48d23b..ceeb5d8 100644
--- a/guru_import/cmd/guru/guru.el
+++ b/guru_import/cmd/guru/guru.el
@@ -179,7 +179,6 @@ a scope if not already set.  Return the output buffer."
     (message nil))
   
   (let ((w (display-buffer (current-buffer))))
-    (shrink-window-if-larger-than-buffer w)
     (set-window-point w (point-min))))
 
 (defun go-guru--insert-modified-files ()



reply via email to

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