Browse Source

Fix wgrep config

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

+ 5
- 4
emacs.el View File

@@ -823,10 +823,11 @@ found, otherwise returns nil."


(when (autoload-eval-lazily 'wgrep) (when (autoload-eval-lazily 'wgrep)
(set-variable 'wgrep-auto-save-buffer t) (set-variable 'wgrep-auto-save-buffer t)
(defvar grep-mode-map)
(define-key grep-mode-map
"e"
'wgrep-change-to-wgrep-mode))
(with-eval-after-load 'grep
(defvar grep-mode-map)
(define-key grep-mode-map
"e"
'wgrep-change-to-wgrep-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))


Loading…
Cancel
Save