branch: externals/embark
commit e3ae72a5a5376b8f450d4a2393794fc07b5a2c98
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    grep export: Fix last heading
---
 embark-consult.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/embark-consult.el b/embark-consult.el
index 24d3992c68..6c61affe65 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -231,6 +231,7 @@ The function FOOTER is called to insert a footer."
         (insert (propertize header 'wgrep-header t 'front-sticky t))
         (dlet ((compilation-filter-start (point)))
           (setq-local grep-num-matches-found (funcall insert lines))
+          (goto-char (point-max))
           ;; Emacs 30 feature `grep-use-headings'
           (when (and (bound-and-true-p grep-use-headings)
                      (fboundp 'grep--heading-filter))

Reply via email to