From 54fa7477e2df81929a0258e99e45dde5ab73ba62 Mon Sep 17 00:00:00 2001 From: Konstantin Shaposhnikov Date: Sun, 21 Feb 2016 11:42:14 +0800 Subject: [PATCH] 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 Reviewed-by: Alan Donovan --- cmd/guru/guru.el | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/guru/guru.el b/cmd/guru/guru.el index d48d23bc4e..ceeb5d8eca 100644 --- a/cmd/guru/guru.el +++ b/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 ()