query-replace-skip-read-only
query-replace-skip-read-only is a variable defined in `replace.el
'.
Its value is nilDocumentation: Non-nil means `query-replace' and friends ignore read-only matches. You can customize this variable. This variable was introduced, or its default value was changed, in version 22.1 of Emacs.