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

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

[elpa] externals/embark fc9f13863c 1/4: Set next-error-last-buffer in gr


From: ELPA Syncer
Subject: [elpa] externals/embark fc9f13863c 1/4: Set next-error-last-buffer in grep export (fix #537)
Date: Sat, 17 Sep 2022 21:57:40 -0400 (EDT)

branch: externals/embark
commit fc9f13863c168a2c25b22a10c8f6f8a87b662ea7
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    Set next-error-last-buffer in grep export (fix #537)
---
 embark-consult.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/embark-consult.el b/embark-consult.el
index 05c467d4d4..6bd16010be 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -174,6 +174,8 @@ This function is meant to be added to 
`embark-collect-mode-hook'."
       (dolist (line lines) (insert line "\n"))
       (goto-char (point-min))
       (grep-mode)
+      ;; Make this buffer current for next/previous-error
+      (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



reply via email to

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