From 1699a15140b4a79cb8a7b83fa8de6b021e3ddf49 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 25 Apr 2019 13:39:17 +0900 Subject: [PATCH] Add grep-context --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index f65657e..c6f3d25 100644 --- a/emacs.el +++ b/emacs.el @@ -1000,6 +1000,9 @@ found, otherwise returns nil." "e" 'wgrep-change-to-wgrep-mode))) +(when (fboundp 'grep-context-mode) + (add-hook 'compilation-mode-hook #'grep-context-mode)) + (with-eval-after-load 'remember (defvar remember-mode-map (make-sparse-keymap)) (define-key remember-mode-map (kbd "C-x C-s") 'ignore))