diff options
| author | Dmitry Gutov | 2019-05-28 01:09:17 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2019-05-30 20:09:53 +0300 |
| commit | b367a3dee13d46fc44a49d4a94d5142e1f98c6da (patch) | |
| tree | 41b78e034d5959ddf3f8e8ec14fe14f814fb26d1 | |
| parent | cc71a82fc705a73fa3ef6cda3ec6bee1cb654d7e (diff) | |
| download | emacs-b367a3dee13d46fc44a49d4a94d5142e1f98c6da.tar.gz emacs-b367a3dee13d46fc44a49d4a94d5142e1f98c6da.zip | |
; Remove unused piece of code and update a docstring
| -rw-r--r-- | lisp/progmodes/xref.el | 4 |
1 files changed, 1 insertions, 3 deletions
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 ...)) ...)." | |||
| 805 | (defun xref-refresh-results () | 805 | (defun xref-refresh-results () |
| 806 | "Refresh the search results in the current buffer." | 806 | "Refresh the search results in the current buffer." |
| 807 | (interactive) | 807 | (interactive) |
| 808 | (unless xref--fetcher | ||
| 809 | (user-error "Reverting not supported")) | ||
| 810 | (let ((inhibit-read-only t) | 808 | (let ((inhibit-read-only t) |
| 811 | (buffer-undo-list t)) | 809 | (buffer-undo-list t)) |
| 812 | (save-excursion | 810 | (save-excursion |
| @@ -842,7 +840,7 @@ FETCHER is a function of no arguments that returns a list of xref | |||
| 842 | values. It must not depend on the current buffer or selected | 840 | values. It must not depend on the current buffer or selected |
| 843 | window. | 841 | window. |
| 844 | 842 | ||
| 845 | ALIST will include at least the following keys: | 843 | ALIST can include, but limited to, the following keys: |
| 846 | 844 | ||
| 847 | WINDOW for the window that was selected before the current | 845 | WINDOW for the window that was selected before the current |
| 848 | command was called. | 846 | command was called. |