projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15c430
)
Add some search-whitespace-regexp examples
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 13 Sep 2021 07:24:46 +0000
(09:24 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 13 Sep 2021 07:24:46 +0000
(09:24 +0200)
* lisp/isearch.el (search-whitespace-regexp): Add some
alternatives in the defcustom.
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index efa7db6fe9c991e29ed6250aefe50bdaffd05811..bebc80adb308352b3df96a6986dd998f681dc332 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-133,6
+133,8
@@
tab, a carriage return (control-M), a newline, and `]+'. Don't
add any capturing groups into this value; that can change the
numbering of existing capture groups in unexpected ways."
:type '(choice (const :tag "Match Spaces Literally" nil)
+ (const :tag "Tabs and spaces" "[ \t]+")
+ (const :tag "Tabs, spaces and line breaks" "[ \t\n]+")
regexp)
:version "28.1")