grep-window-height
grep-window-height is a variable defined in `grep.el
'.
Its value is nilDocumentation: Number of lines in a grep window. If nil, use `compilation-window-height'. You can customize this variable. This variable was introduced, or its default value was changed, in version 22.1 of Emacs.