]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove unused piece of code and update a docstring
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 27 May 2019 22:09:17 +0000 (01:09 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 30 May 2019 17:09:53 +0000 (20:09 +0300)
lisp/progmodes/xref.el

index d7e82d1d40343a95c3314bd659ca19d4076b08af..58c0119a54340685c15c24c26f48095e38eaf9f1 100644 (file)
@@ -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.