summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-02-25 22:40:38 -0500
committerKyle Meyer <kyle@kyleam.com>2016-02-25 22:40:38 -0500
commitd9c2b69946f572f8fba420edaf4c95b4f27f2ed9 (patch)
tree67c6ed8a7ffab832c1a534e7272422e9da302e0f
parent57d11efe9405949a2f04ffd9dd2d4f698a2af77f (diff)
downloademacs.d-d9c2b69946f572f8fba420edaf4c95b4f27f2ed9.tar.gz
Don't hide grep header
This interferes with wgrep, which assumes there is a header. Plus, with truncated lines, the long grep call isn't an issue.
-rw-r--r--init.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/init.el b/init.el
index a6435f2..e3492fb 100644
--- a/init.el
+++ b/init.el
@@ -1329,13 +1329,6 @@
(use-package grep
:defer t
:config
- (defun km/grep-hide-header ()
- (narrow-to-region
- (save-excursion (goto-char (point-min))
- (line-beginning-position 5))
- (point-max)))
-
- (add-hook 'grep-setup-hook #'km/grep-hide-header)
(add-hook 'grep-mode-hook #'toggle-truncate-lines))
(use-package compile