From 99fe8318a8edcd7cbd349d125b8a32ec273223b0 Mon Sep 17 00:00:00 2001 From: Eki Zhang Date: Thu, 3 Oct 2024 01:28:58 +0800 Subject: [PATCH] add missing command in meow-shims of wgrep (#639) --- meow-shims.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meow-shims.el b/meow-shims.el index 33505e4..3b7b94f 100644 --- a/meow-shims.el +++ b/meow-shims.el @@ -139,9 +139,11 @@ Argument ENABLE non-nil means turn on." (advice-add 'wgrep-change-to-wgrep-mode :after #'meow--switch-to-normal) (advice-add 'wgrep-exit :after #'meow--switch-to-motion) (advice-add 'wgrep-finish-edit :after #'meow--switch-to-motion) + (advice-add 'wgrep-abort-changes :after #'meow--switch-to-motion) (advice-add 'wgrep-save-all-buffers :after #'meow--switch-to-motion)) (advice-remove 'wgrep-change-to-wgrep-mode #'meow--switch-to-normal) (advice-remove 'wgrep-exit #'meow--switch-to-motion) + (advice-remove 'wgrep-abort-changes #'meow--switch-to-motion) (advice-remove 'wgrep-finish-edit #'meow--switch-to-motion) (advice-remove 'wgrep-save-all-buffers #'meow--switch-to-motion)))