diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-11-06 15:30:30 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-11-07 02:12:07 -0500 |
commit | cc0326d5e3de5848c34c016341b5dd09bbf4f359 (patch) | |
tree | 9247289d0bceb07537d9b1125209020e4f66a572 /lisp | |
parent | cf08f39de1ab2da2374f88ef969217aefec5187b (diff) | |
download | emacs.d-cc0326d5e3de5848c34c016341b5dd09bbf4f359.tar.gz |
grep: Truncate long lines
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-files.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/init-files.el b/lisp/init-files.el index afff9d1..e10e851 100644 --- a/lisp/init-files.el +++ b/lisp/init-files.el @@ -104,6 +104,7 @@ FILES may use abbreviations defined in `grep-files-aliases', e.g. entering `ch' is equivalent to `*.[ch]'.") (add-hook 'grep-setup-hook 'km/grep-hide-header) +(add-hook 'grep-mode-hook 'toggle-truncate-lines) (defun km/grep-hide-header () (let ((beg (save-excursion (goto-char (point-min)) |