bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9282: Mention the current-buffer requirement in `match-string{, -no-


From: Štěpán Němec
Subject: bug#9282: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring
Date: Thu, 11 Aug 2011 17:25:09 +0200

As the info documentation points out[1], when retrieving match data for
a buffer (as opposed to a string), `match-string{,-no-properties}' _must_
be called with the matched buffer current. This is a critical
requirement, so it should also be mentioned in the doc strings, not only
the Elisp manual.

[1] (info "(elisp)Simple Match Data")

-- 
Štěpán





reply via email to

[Prev in Thread] Current Thread [Next in Thread]