From d16b73fb4a9d87ec220444d220c6b45879806fc0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 13 Jun 2019 01:43:58 +0200 Subject: [PATCH] Fix compilation warning in qp.el * lisp/mail/qp.el (quoted-printable-encode-region): No need to convert the regexp to multibyte before searching. --- lisp/mail/qp.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/mail/qp.el b/lisp/mail/qp.el index 5b497411886..803d78602e5 100644 --- a/lisp/mail/qp.el +++ b/lisp/mail/qp.el @@ -115,8 +115,7 @@ encode lines starting with \"From\"." (setq class "\010-\012\014\040-\074\076-\177")) (save-excursion (goto-char from) - (if (re-search-forward (string-to-multibyte "[^\x0-\x7f\x80-\xff]") - to t) + (if (re-search-forward "[^\x0-\x7f\x80-\xff]" to t) (error "Multibyte character in QP encoding region")) (save-restriction (narrow-to-region from to) -- 2.39.5