From: Dmitry Gutov Date: Mon, 27 May 2019 22:09:17 +0000 (+0300) Subject: ; Remove unused piece of code and update a docstring X-Git-Tag: emacs-27.0.90~2756 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b367a3dee13d46fc44a49d4a94d5142e1f98c6da;p=emacs.git ; Remove unused piece of code and update a docstring --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index d7e82d1d403..58c0119a543 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -805,8 +805,6 @@ Return an alist of the form ((FILENAME . (XREF ...)) ...)." (defun xref-refresh-results () "Refresh the search results in the current buffer." (interactive) - (unless xref--fetcher - (user-error "Reverting not supported")) (let ((inhibit-read-only t) (buffer-undo-list t)) (save-excursion @@ -842,7 +840,7 @@ FETCHER is a function of no arguments that returns a list of xref values. It must not depend on the current buffer or selected window. -ALIST will include at least the following keys: +ALIST can include, but limited to, the following keys: WINDOW for the window that was selected before the current command was called.