Table A-2. Searching and replacing
Table A-2. Searching and replacing (Chapter 3)
| Variable | Default | Description |
|---|---|---|
| case-fold-search | t | If non-nil, treat upper- and lowercase letters as the same when searching. |
| case-replace | t | If non-nil, preserve the original case of letters when doing replaces (even if case-fold-search is on). |
| search-upper-case | 'not-yanks | If non-nil, uppercase letters in search strings defeat case-fold-search (i.e., force search to be case-sensitive). The symbol 'not-yanks means convert uppercase letters in yanked text to lowercase. |
| search-exit-option | t | If non-nil, any control character other than those defined in incremental search (Del, C-j, C-q, C-r, C-s, C-w, C-y) exits search. |
| search-highlight | t | If non-nil, highlight partial search matches. |
| query-replace-highlight | t | If non-nil, highlight matches in query-replace mode. |