Variable: query-replace-history

Default history list for query-replace commands.
See `query-replace-from-history-variable' and
`query-replace-to-history-variable'.