branch: elpa/go-mode
commit 34e7efe673fffaa1b3c64b245198d9db26816f43
Author: Konstantin Shaposhnikov <[email protected]>
Commit: Dominik Honnef <[email protected]>

    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 <[email protected]>
    Reviewed-by: Alan Donovan <[email protected]>
---
 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