* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.