unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9282: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring
@ 2011-08-11 15:25 Štěpán Němec
  2011-09-11  2:10 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Štěpán Němec @ 2011-08-11 15:25 UTC (permalink / raw)
  To: 9282


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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#9282: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring
  2011-08-11 15:25 bug#9282: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring Štěpán Němec
@ 2011-09-11  2:10 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11  2:10 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: 9282

Štěpán Němec <stepnem@gmail.com> writes:

> 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.

Ok; done.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-11  2:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 15:25 bug#9282: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring Štěpán Němec
2011-09-11  2:10 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).