projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b619777
)
Fix typo in regexp-opt example code
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 31 Mar 2019 13:53:52 +0000
(15:53 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sun, 31 Mar 2019 13:53:52 +0000
(15:53 +0200)
* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
doc/lispref/searching.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/searching.texi
b/doc/lispref/searching.texi
index 0f312915f9e50050ce90fbf7daf59d8004bba65f..e3f31fdf8361bc9330e4c09040eb166dc6b0b180 100644
(file)
--- a/
doc/lispref/searching.texi
+++ b/
doc/lispref/searching.texi
@@
-1007,9
+1007,9
@@
version:
((eq paren 'symbols) '("\\_<\\(" . "\\)\\_>"))
((null paren) '("\\(?:" . "\\)"))
(t '("\\(" . "\\)")))))
- (concat (car paren)
+ (concat (car paren
s
)
(mapconcat 'regexp-quote strings "\\|")
- (cdr paren))))
+ (cdr paren
s
))))
@end example
@end defun