diff lisp/subr.el @ 60166:5983fbce8c7e

(subregexp-context-p): Fix garbled doc string by adding quoting.
author David Kastrup <dak@gnu.org>
date Sat, 19 Feb 2005 18:54:17 +0000
parents aac0a33f5772
children 374bd52dd8b8 389421e988c2 bf0d492ea2d5
line wrap: on
line diff
--- a/lisp/subr.el	Sat Feb 19 16:11:52 2005 +0000
+++ b/lisp/subr.el	Sat Feb 19 18:54:17 2005 +0000
@@ -2221,10 +2221,10 @@
 (defun subregexp-context-p (regexp pos &optional start)
   "Return non-nil if POS is in a normal subregexp context in REGEXP.
 A subregexp context is one where a sub-regexp can appear.
-A non-subregexp context is for example within brackets, or within a repetition
-bounds operator \\{..\\}, or right after a \\.
-If START is non-nil, it should be a position in REGEXP, smaller than POS,
-and known to be in a subregexp context."
+A non-subregexp context is for example within brackets, or within a
+repetition bounds operator `\\=\\{...\\}', or right after a `\\'.
+If START is non-nil, it should be a position in REGEXP, smaller
+than POS, and known to be in a subregexp context."
   ;; Here's one possible implementation, with the great benefit that it
   ;; reuses the regexp-matcher's own parser, so it understands all the
   ;; details of the syntax.  A disadvantage is that it needs to match the