(subregexp-context-p): Fix garbled doc string by adding

quoting.
This commit is contained in:
David Kastrup 2005-02-19 18:54:17 +00:00
parent 7ca4e8a10f
commit c761fd554a
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2005-02-19 David Kastrup <dak@gnu.org>
* subr.el (subregexp-context-p): Fix garbled doc string by adding
quoting.
2005-02-19 Jay Belanger <belanger@truman.edu>
* calc/calc-math.el (calc-arctan, calc-tanh, calc-arctanh):

View file

@ -2221,10 +2221,10 @@ and replace a sub-expression, e.g.
(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