emacs-devel
[Top][All Lists]
Advanced

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

Re: master baf331e 3/3: Rename replace-in-string to string-replace


From: Robert Pluim
Subject: Re: master baf331e 3/3: Rename replace-in-string to string-replace
Date: Mon, 28 Sep 2020 17:25:15 +0200

>>>>> On Mon, 28 Sep 2020 16:56:28 +0200, Stefan Kangas <stefan@marxist.se> 
>>>>> said:

    Stefan> Robert Pluim <rpluim@gmail.com> writes:
    >> Do we need a (defalias 'string-replace-regexp
    >> 'replace-regexp-in-string)?

    Stefan> Or (define-obsolete-function-alias 'replace-regexp-in-string
    Stefan> #'string-replace-regexp "28.1")

Obsoleting such a commonly used function just because we have an
additional name for it would cause lots of needless warnings in
perfectly fine elisp. e.g., just because we have 'first' is not a
reason to declare 'car' obsolete.

Robert
-- 



reply via email to

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