summaryrefslogtreecommitdiff
path: root/lisp/mail/rfc2231.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mail/rfc2231.el')
-rw-r--r--lisp/mail/rfc2231.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rfc2231.el b/lisp/mail/rfc2231.el
index 6fb4502b23b..db34fd2cb9e 100644
--- a/lisp/mail/rfc2231.el
+++ b/lisp/mail/rfc2231.el
@@ -63,7 +63,7 @@ must never cause a Lisp error."
(let (mod)
(when (and (string-match "\\\\\"" string)
(not (string-match "\\`\"\\|[^\\]\"" string)))
- (setq string (replace-regexp-in-string "\\\\\"" "\"" string)
+ (setq string (string-replace "\\\"" "\"" string)
mod t))
(when (and (string-match "\\\\(" string)
(string-match "\\\\)" string)