diff options
| author | Chong Yidong | 2012-08-26 11:57:55 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-26 11:57:55 +0800 |
| commit | dd7ffad60f9e52590f4e6e352e8f861c6a5d13f0 (patch) | |
| tree | 1d444e8646a592c524a3f50e108da7130fedeb4f /etc | |
| parent | e1f29348711cb668969139126b59a2a3b8881987 (diff) | |
| download | emacs-dd7ffad60f9e52590f4e6e352e8f861c6a5d13f0.tar.gz emacs-dd7ffad60f9e52590f4e6e352e8f861c6a5d13f0.zip | |
Make ordinary isearch obey search-whitespace-regexp too.
* lisp/isearch.el (search-whitespace-regexp): Make string and nil
values apply to both ordinary and regexp search. Allow a cons
cell value to distinguish between the two.
(isearch-whitespace-regexp, isearch-search-forward)
(isearch-search-backward): New functions.
(isearch-occur, isearch-search-fun-default, isearch-search)
(isearch-lazy-highlight-new-loop): Use them.
(isearch-forward, isearch-forward-regexp): Doc fix.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -179,6 +179,13 @@ end of the buffer. It defaults to t. | |||
| 179 | and `M-s _' in Isearch toggles symbol search mode. | 179 | and `M-s _' in Isearch toggles symbol search mode. |
| 180 | `M-s c' in Isearch toggles search case-sensitivity. | 180 | `M-s c' in Isearch toggles search case-sensitivity. |
| 181 | 181 | ||
| 182 | *** `search-whitespace-regexp' now acts on ordinary incremental search | ||
| 183 | as well, so that each sequence of spaces in the search string matches | ||
| 184 | any combination of one or more whitespace characters. To change this | ||
| 185 | behavior, you can give `search-whitespace-regexp' a cons cell value, | ||
| 186 | where the car and cdr specify values for ordinary and regular | ||
| 187 | expression incremental search respectively. | ||
| 188 | |||
| 182 | ** M-x move-to-column, if called interactively with no prefix arg, now | 189 | ** M-x move-to-column, if called interactively with no prefix arg, now |
| 183 | prompts for a column number. | 190 | prompts for a column number. |
| 184 | 191 | ||