projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b765c6
)
Backport: 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
Juanma Barranquero
<lekktu@gmail.com>
Sun, 16 Jun 2019 09:48:38 +0000
(11:48 +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 2e951d0d5d77d12daaaee84d8a23bc5ddc0f9d78..b182fae5955a5957c1f072b507b560c06c40cd81 100644
(file)
--- a/
doc/lispref/searching.texi
+++ b/
doc/lispref/searching.texi
@@
-1013,9
+1013,9
@@
more efficient than that of a simplified 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