This is a patch for bug#34068, which I think was introduced in commit
644cdd1aa0. The patch is against the emacs-26 branch.
Regards.
Trevor Spiteri
Ugh, Thunderbird mangled my patch. Here I go again:
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index df8cb3da7e..08a5db25ab 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -389,7 +389,7 @@ grep-regexp-alist
(when grep-highlight-matches
(let* ((beg (match-end 0))
(end (save-excursion (goto-char beg) (line-end-position)))
- (mbeg (text-property-any beg end 'font-lock-face 'grep-match-face)))
+ (mbeg (text-property-any beg end 'font-lock-face grep-match-face)))
(when mbeg
(- mbeg beg)))))
.
@@ -397,7 +397,7 @@ grep-regexp-alist
(when grep-highlight-matches
(let* ((beg (match-end 0))
(end (save-excursion (goto-char beg) (line-end-position)))
- (mbeg (text-property-any beg end 'font-lock-face 'grep-match-face))
+ (mbeg (text-property-any beg end 'font-lock-face grep-match-face))
(mend (and mbeg (next-single-property-change mbeg 'font-lock-face nil end))))
(when mend
(- mend beg))))))