summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-02-21 19:52:07 +0000
committerRichard M. Stallman <rms@gnu.org>2006-02-21 19:52:07 +0000
commit51a77cba218dd537eab24a5ecdf290fddff903d7 (patch)
tree50029c82026a51f9e64bbf03b5d792f8e3c3c651
parent774a814f60738f2ca6ae40a7209080df2794b379 (diff)
downloademacs-51a77cba218dd537eab24a5ecdf290fddff903d7.tar.gz
(search-whitespace-regexp): Fix custom type.
-rw-r--r--lisp/isearch.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index ba700a893eb..8649ba520fe 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -116,8 +116,11 @@ When you put a space or spaces in the incremental regexp, it stands for
this, unless it is inside of a regexp construct such as [...] or *, + or ?.
You might want to use something like \"[ \\t\\r\\n]+\" instead.
In the Customization buffer, that is `[' followed by a space,
-a tab, a carriage return (control-M), a newline, and `]+'."
- :type 'regexp
+a tab, a carriage return (control-M), a newline, and `]+'.
+
+When this is nil, each space you type matches literally, against one space."
+ :type '(choice (const :tag "Find Spaces Literally" nil)
+ regexp)
:group 'isearch)
(defcustom search-invisible 'open