From 809503431d47afb9d20e8463853298a595e1fcb2 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 23 Jan 2021 02:58:53 +0200 Subject: [PATCH] ; xref-revert-buffer: Drop the (goto-char) at the end (cherry picked from commit cc98d0bf5225c281f91152aa838c4cb093df52e9) --- lisp/progmodes/xref.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 7f5e76c7409..0b25110b79b 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -884,8 +884,7 @@ Return an alist of the form ((FILENAME . (XREF ...)) ...)." (insert (propertize (error-message-string err) - 'face 'error)))) - (goto-char (point-min))))) + 'face 'error))))))) (defun xref--show-defs-buffer (fetcher alist) (let ((xrefs (funcall fetcher))) -- 2.39.2