* lisp/progmodes/xref.el (xref-revert-buffer): Make sure that the
inhibit-modification-hooks binding does not cover xref--fetcher
funcall. Only the printing step (issue mentioned in bug#53749).
(cherry picked from commit
7ca238c4413284253c06ed2b060a7a0f79653b40)
"Refresh the search results in the current buffer."
(interactive)
(let ((inhibit-read-only t)
- (buffer-undo-list t)
- (inhibit-modification-hooks t))
+ (buffer-undo-list t))
(save-excursion
(condition-case err
- (let ((alist (xref--analyze (funcall xref--fetcher))))
+ (let ((alist (xref--analyze (funcall xref--fetcher)))
+ (inhibit-modification-hooks t))
(erase-buffer)
(xref--insert-xrefs alist))
(user-error