branch: externals/embark
commit e0238889b1c946514fd967d21d70599af9c4e887
Author: Omar Antolin Camarena <[email protected]>
Commit: Omar Antolin Camarena <[email protected]>

    Let next-error pickup an exported occur buffer (fix #794)
---
 embark-consult.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/embark-consult.el b/embark-consult.el
index 2be7a12527..b5ad6c90d5 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -129,6 +129,8 @@ category `consult-line'."
             (setq last-buf this-buf))
           (insert lineno contents nl)))
       (goto-char (point-min))
+      ;; Make this buffer current for next/previous-error
+      (setq next-error-last-buffer buf)
       (occur-mode))
     (pop-to-buffer buf)))
 

Reply via email to