summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-files.el1
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))