m. c. de marco: To invent new life and new civilizations...

I found a clue here to how to fix the annoying, poorly-formatted xref buffer that had mysteriously appeared when Q-ing in dired in Emacs 25.2:

(define-key dired-mode-map (kbd "Q") 'dired-do-query-replace-regexp)