mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
* lisp/replace.el (query-replace-show-preview): Accept the symbols `replacement-only' and `both'. Update the :type accordingly, which also fixes the name of a function that does not exist. (query-replace-preview-match): Update the doc string. (replace-preview-both, replace-preview-replacement-only): Say which value of the option calls them. (replace-preview--format): Dispatch on the new values, and still call a function value. (replace-preview-setup): Test the option for non-nil instead of testing it with `functionp'. * test/lisp/replace-tests.el (replace-tests--preview) (replace-tests-preview-both, replace-tests-preview-cleanup) (replace-tests-preview-disabled): Use the new values. * doc/emacs/search.texi (Replace): Document the new values. |
||
|---|---|---|
| .. | ||
| emacs | ||
| lispintro | ||
| lispref | ||
| man | ||
| misc | ||
| translations | ||