emacs-devel
[Top][All Lists]
Advanced

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

Re: replace-regexp-in-string, using the dyn scoped variable STR


From: Stefan Monnier
Subject: Re: replace-regexp-in-string, using the dyn scoped variable STR
Date: Wed, 11 Nov 2009 15:25:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> Sometimes it is necessary to use the variable str which is dynamically
> scoped in replace-regexp-in-string. Below is an example of this.

This is bad practice.  It may seem convenient in some cases, but we
definitely do not want to encourage it.


        Stefan




reply via email to

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