diff options
| author | Dmitry Gutov | 2016-01-24 05:17:52 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2016-01-24 05:17:52 +0300 |
| commit | 3f481ad0072ea4fe300af7f326de9049a8d32d4a (patch) | |
| tree | a781402132026d802d0b68149cfa152ee97cba1d /doc | |
| parent | 62f4ed477ebcbe56087bb1df96340530c84b33a9 (diff) | |
| download | emacs-3f481ad0072ea4fe300af7f326de9049a8d32d4a.tar.gz emacs-3f481ad0072ea4fe300af7f326de9049a8d32d4a.zip | |
Rename xref-query-replace to xref-query-replace-in-results
* lisp/progmodes/xref.el(xref-query-replace):
Rename to xref-query-replace-in-results.
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
* lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
* lisp/dired-aux.el (dired-do-find-regexp-and-replace):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/maintaining.texi (Xref Commands)
(Identifier Search, Identifier Search): Update accordingly.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/dired.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/maintaining.texi | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 69616270181..8a72805f7fc 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -797,8 +797,8 @@ Perform @code{query-replace-regexp} on each of the specified files, | |||
| 797 | replacing matches for @var{regexp} with the string | 797 | replacing matches for @var{regexp} with the string |
| 798 | @var{to} (@code{dired-do-find-regexp-and-replace}). | 798 | @var{to} (@code{dired-do-find-regexp-and-replace}). |
| 799 | 799 | ||
| 800 | This command is a variant of @code{xref-query-replace}. It presents | 800 | This command is a variant of @code{xref-query-replace-in-results}. It |
| 801 | an @file{*xref*} buffer that lists all the matches of @var{regexp}, | 801 | presents an @file{*xref*} buffer that lists all the matches of @var{regexp}, |
| 802 | and you can use the special commands in that buffer (@pxref{Xref | 802 | and you can use the special commands in that buffer (@pxref{Xref |
| 803 | Commands}). In particular, if you exit the query replace loop, you | 803 | Commands}). In particular, if you exit the query replace loop, you |
| 804 | can use @kbd{r} in that buffer to replace more matches. | 804 | can use @kbd{r} in that buffer to replace more matches. |
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 90af5c8b17d..471a16b57de 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -1875,11 +1875,11 @@ Move to the previous reference and display it in the other window | |||
| 1875 | @findex xref-show-location-at-point | 1875 | @findex xref-show-location-at-point |
| 1876 | Display the reference on the current line in the other window | 1876 | Display the reference on the current line in the other window |
| 1877 | (@code{xref-show-location-at-point}). | 1877 | (@code{xref-show-location-at-point}). |
| 1878 | @findex xref-query-replace | 1878 | @findex xref-query-replace-in-results |
| 1879 | @item r @var{pattern} @key{RET} @var{replacement} @key{RET} | 1879 | @item r @var{pattern} @key{RET} @var{replacement} @key{RET} |
| 1880 | Perform interactive query-replace on references that match | 1880 | Perform interactive query-replace on references that match |
| 1881 | @var{pattern} (@code{xref-query-replace}), replacing the match with | 1881 | @var{pattern} (@code{xref-query-replace-in-results}), replacing |
| 1882 | @var{replacement}. @xref{Identifier Search}. | 1882 | the match with @var{replacement}. @xref{Identifier Search}. |
| 1883 | @findex xref-quit | 1883 | @findex xref-quit |
| 1884 | @item q | 1884 | @item q |
| 1885 | Quit the window showing the @file{*xref*} buffer (@code{xref-quit}). | 1885 | Quit the window showing the @file{*xref*} buffer (@code{xref-quit}). |
| @@ -1901,7 +1901,7 @@ them. | |||
| 1901 | @table @kbd | 1901 | @table @kbd |
| 1902 | @item M-? | 1902 | @item M-? |
| 1903 | Find all the references for the identifier at point. | 1903 | Find all the references for the identifier at point. |
| 1904 | @item M-x xref-query-replace @key{RET} @var{regexp} @key{RET} @var{replacement} @key{RET} | 1904 | @item M-x xref-query-replace-in-results @key{RET} @var{regexp} @key{RET} @var{replacement} @key{RET} |
| 1905 | Interactively replace @var{regexp} with @var{replacement} in the names | 1905 | Interactively replace @var{regexp} with @var{replacement} in the names |
| 1906 | of all the identifiers shown in the @file{*xref*} buffer. | 1906 | of all the identifiers shown in the @file{*xref*} buffer. |
| 1907 | @item M-x tags-search @key{RET} @var{regexp} @key{RET} | 1907 | @item M-x tags-search @key{RET} @var{regexp} @key{RET} |
| @@ -1923,8 +1923,8 @@ identifier, showing the file name and the line where the identifier is | |||
| 1923 | referenced. The XREF mode commands are available in this buffer, see | 1923 | referenced. The XREF mode commands are available in this buffer, see |
| 1924 | @ref{Xref Commands}. | 1924 | @ref{Xref Commands}. |
| 1925 | 1925 | ||
| 1926 | @findex xref-query-replace | 1926 | @findex xref-query-replace-in-results |
| 1927 | @kbd{M-x xref-query-replace} reads a regexp to match identifier | 1927 | @kbd{M-x xref-query-replace-in-results} reads a regexp to match identifier |
| 1928 | names and a replacement string, just like ordinary @kbd{M-x | 1928 | names and a replacement string, just like ordinary @kbd{M-x |
| 1929 | query-replace-regexp}. It then performs the specified replacement in | 1929 | query-replace-regexp}. It then performs the specified replacement in |
| 1930 | the names of the matching identifiers in all the places in all the | 1930 | the names of the matching identifiers in all the places in all the |