emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/embark e1a8c0e9db 5/6: Fix bug in which after wgrep g n


From: ELPA Syncer
Subject: [elpa] externals/embark e1a8c0e9db 5/6: Fix bug in which after wgrep g no longer reruns the export
Date: Mon, 5 Feb 2024 15:57:55 -0500 (EST)

branch: externals/embark
commit e1a8c0e9db26c6bf41c9c10adfd05e30fc87d599
Author: Omar Antolin Camarena <omar.antolin@gmail.com>
Commit: Omar Antolin Camarena <omar.antolin@gmail.com>

    Fix bug in which after wgrep g no longer reruns the export
---
 embark-consult.el | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/embark-consult.el b/embark-consult.el
index 3dc350818c..cbe5fdc8e8 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -168,9 +168,7 @@ The function FOOTER is called to insert a footer."
       (setq next-error-last-buffer buf)
       ;; Set up keymap before possible wgrep-setup, so that wgrep
       ;; restores our binding too when the user finishes editing.
-      (use-local-map (make-composed-keymap
-                      embark-consult-revert-map
-                      (current-local-map)))
+      (keymap-set (current-local-map) "g" #'embark-rerun-collect-or-export)
       ;; TODO Wgrep 3.0 and development versions use different names for the
       ;; parser variable.
       (defvar wgrep-header/footer-parser)
@@ -243,11 +241,6 @@ This function is meant to be added to 
`embark-collect-mode-hook'."
 (defvar grep-num-matches-found)
 (declare-function wgrep-setup "ext:wgrep")
 
-(defvar-keymap embark-consult-revert-map
-  :doc "A keymap with a binding for revert-buffer."
-  :parent nil
-  "g" #'revert-buffer)
-
 (defun embark-consult-export-grep (lines)
   "Create a grep mode buffer listing LINES.
 The elements of LINES should be completion candidates with



reply via email to

[Prev in Thread] Current Thread [Next in Thread]