From 3bd8a8bb91d5bf56216541f359c69c789c942b16 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 3 Feb 2022 12:25:53 +0100 Subject: [PATCH] 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. --- lisp/net/soap-client.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5