diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-02-25 22:40:38 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-02-25 22:40:38 -0500 |
commit | d9c2b69946f572f8fba420edaf4c95b4f27f2ed9 (patch) | |
tree | 67c6ed8a7ffab832c1a534e7272422e9da302e0f | |
parent | 57d11efe9405949a2f04ffd9dd2d4f698a2af77f (diff) | |
download | emacs.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.el | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 |