Commit a01693a4 authored by Dmitry Gutov's avatar Dmitry Gutov

Rename xref-refresh-results to xref-revert-buffer

* lisp/progmodes/xref.el (xref-revert-buffer): Rename from
'xref-refresh-results' (
parent 27f56271
......@@ -797,7 +797,7 @@ only one hit. This can be altered by changing
*** Xref buffers support refreshing the search results.
A new command 'xref-refresh-results' is bound to 'g'.
A new command 'xref-revert-buffer' is bound to 'g'.
** Ecomplete
......@@ -695,7 +695,7 @@ references displayed in the current *xref* buffer."
;; suggested by Johan Claesson "to further reduce finger movement":
(define-key map (kbd ".") #'xref-next-line)
(define-key map (kbd ",") #'xref-prev-line)
(define-key map (kbd "g") #'xref-refresh-results)
(define-key map (kbd "g") #'xref-revert-buffer)
(define-derived-mode xref--xref-buffer-mode special-mode "XREF"
......@@ -802,7 +802,7 @@ Return an alist of the form ((FILENAME . (XREF ...)) ...)."
(setq xref--fetcher fetcher)
(defun xref-refresh-results ()
(defun xref-revert-buffer ()
"Refresh the search results in the current buffer."
(let ((inhibit-read-only t)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment