diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-02-03 12:25:53 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-02-03 12:25:53 +0100 |
commit | 3bd8a8bb91d5bf56216541f359c69c789c942b16 (patch) | |
tree | 4cc5fa7db38ea2f8fa385dcc87607df17e1e704a /lisp/net/soap-client.el | |
parent | 1b0342628e565ff6fbb3ad1e374a2203d9d4a8ae (diff) | |
download | emacs-3bd8a8bb91d5bf56216541f359c69c789c942b16.tar.gz |
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.
Diffstat (limited to 'lisp/net/soap-client.el')
-rw-r--r-- | lisp/net/soap-client.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |