From: Mattias EngdegÄrd Date: Thu, 3 Feb 2022 11:25:53 +0000 (+0100) Subject: Don't use `string-replace` in soap-client (bug#53744) X-Git-Tag: emacs-29.0.90~2556 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bd8a8bb91d5bf56216541f359c69c789c942b16;p=emacs.git Don't use `string-replace` in soap-client (bug#53744) * lisp/net/soap-client.el (soap-decode-xs-complex-type): Cease using `string-replace` since it requires Emacs 28. --- diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el index 718cff829cf..274e3b29e1c 100644 --- a/lisp/net/soap-client.el +++ b/lisp/net/soap-client.el @@ -659,7 +659,7 @@ representing leap seconds." (if second (if second-fraction (let* ((second-fraction-significand - (string-replace "." "" second-fraction)) + (replace-regexp-in-string "\\." "" second-fraction)) (hertz (expt 10 (length second-fraction-significand))) (ticks (+ (* hertz (string-to-number second))