aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2012-08-26 11:57:55 +0800
committerChong Yidong2012-08-26 11:57:55 +0800
commitdd7ffad60f9e52590f4e6e352e8f861c6a5d13f0 (patch)
tree1d444e8646a592c524a3f50e108da7130fedeb4f /etc
parente1f29348711cb668969139126b59a2a3b8881987 (diff)
downloademacs-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/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0c9ffe50093..02bd6410255 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -179,6 +179,13 @@ end of the buffer. It defaults to t.
179and `M-s _' in Isearch toggles symbol search mode. 179and `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
183as well, so that each sequence of spaces in the search string matches
184any combination of one or more whitespace characters. To change this
185behavior, you can give `search-whitespace-regexp' a cons cell value,
186where the car and cdr specify values for ordinary and regular
187expression 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
183prompts for a column number. 190prompts for a column number.
184 191