mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
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>
This commit is contained in:
parent
86372b3255
commit
54fa7477e2
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user