|
From: | Tom Tromey |
Subject: | bug#61395: 28.2; bug-reference warning seems incorrect |
Date: | Fri, 10 Feb 2023 09:27:22 -0700 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
> I'll have a look later today! It seems difficult to reproduce. I can't do it reliably. My co-worker Kévin suggested that perhaps the problem is here, in bug-reference-fontify: (while (and (< (point) end-line) (re-search-forward bug-reference-bug-regexp end-line 'move)) (when (or (not bug-reference-prog-mode) ;; This tests for both comment and string syntax. (nth 8 (syntax-ppss))) ... with the question being whether the call to syntax-ppss needs to be wrapped in save-match-data. Tom
[Prev in Thread] | Current Thread | [Next in Thread] |