query-replace-show-replacement

query-replace-show-replacement is a variable defined in `replace.el'.
Its value is
t


Documentation:
Non-nil means to show what actual replacement text will be.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 23.1 of Emacs.