branch: externals/embark commit d5df0eff182b014ab49328a4dbb1d69eb7faafbd Merge: 755cb49b59 e3ae72a5a5 Author: Omar AntolĂn Camarena <omar.anto...@gmail.com> Commit: GitHub <nore...@github.com>
Merge pull request #749 from minad/fix-last-heading 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))