Subject: Re: bug#39190: 28.0.50; two buffers with same buffer-file-name (diff-syntax-fontify-props)

From: Dmitry Gutov <[email-masked]>
Date: Mon, 3 Feb 2020 16:14:02 +0300

On 03.02.2020 2:41, Juri Linkov wrote:
> --- a/lisp/progmodes/xref.el
> +++ b/lisp/progmodes/xref.el
> @@ -1395,7 +1395,7 @@ xref--collect-matches
>                   (inhibit-message t)
>                   message-log-max)
>               (ignore-errors
> -              (set-auto-mode t)))
> +              (delay-mode-hooks (set-auto-mode t))))

Nope.

There's even a comment above these lines explaining why I didn't use 
delay-mode-hooks there.

I've even mentioned it in this thread already.