From: Lars Ingebrigtsen Date: Wed, 12 Jun 2019 23:43:58 +0000 (+0200) Subject: Fix compilation warning in qp.el X-Git-Tag: emacs-27.0.90~2588 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d16b73fb4a9d87ec220444d220c6b45879806fc0;p=emacs.git Fix compilation warning in qp.el * lisp/mail/qp.el (quoted-printable-encode-region): No need to convert the regexp to multibyte before searching. --- 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)