Browse Source

Add grep-context

master
10sr 5 years ago
parent
commit
1699a15140
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el View File

@@ -1000,6 +1000,9 @@ found, otherwise returns nil."
"e" "e"
'wgrep-change-to-wgrep-mode))) 'wgrep-change-to-wgrep-mode)))


(when (fboundp 'grep-context-mode)
(add-hook 'compilation-mode-hook #'grep-context-mode))

(with-eval-after-load 'remember (with-eval-after-load 'remember
(defvar remember-mode-map (make-sparse-keymap)) (defvar remember-mode-map (make-sparse-keymap))
(define-key remember-mode-map (kbd "C-x C-s") 'ignore)) (define-key remember-mode-map (kbd "C-x C-s") 'ignore))


Loading…
Cancel
Save