GNU bug report logs - #9282
Mention the current-buffer requirement in `match-string{, -no-properties}' docstring

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> gmail.com>

Date: Thu, 11 Aug 2011 15:32:02 UTC

Severity: minor

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 9282 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Štěpán Němec <stepnem <at> gmail.com>
Cc: 9282 <at> debbugs.gnu.org
Subject: Re: Mention the current-buffer requirement in `match-string{,
	-no-properties}' docstring
Date: Sun, 11 Sep 2011 04:10:36 +0200
Štěpán Němec <stepnem <at> 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/




This bug report was last modified 13 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.