From 1f4f38ea35e0dff2ed5dc361405fe00eb454df86 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 6 Nov 2018 12:29:41 +0900 Subject: [PATCH] Add wgrep-auto-save-buffer --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 6fbb53a..414b34e 100644 --- a/emacs.el +++ b/emacs.el @@ -821,7 +821,8 @@ found, otherwise returns nil." ;; Include some extra modes (require 'generic-x) -(when (safe-require-or-eval 'wgrep) +(when (autoload-eval-lazily 'wgrep) + (set-variable 'wgrep-auto-save-buffer t) (defvar grep-mode-map) (define-key grep-mode-map "e"