emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 8095034 2/2: ; xref-revert-buffer: Drop the (goto-char) at the


From: Dmitry Gutov
Subject: emacs-27 8095034 2/2: ; xref-revert-buffer: Drop the (goto-char) at the end
Date: Sat, 23 Jan 2021 20:30:37 -0500 (EST)

branch: emacs-27
commit 809503431d47afb9d20e8463853298a595e1fcb2
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    ; 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 7f5e76c..0b25110 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]