Commit d16b73fb authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Fix compilation warning in qp.el

* lisp/mail/qp.el (quoted-printable-encode-region): No need to
convert the regexp to multibyte before searching.
parent 982af7f5
Pipeline #2017 failed with stage
in 9 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment