emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d16b73f 7/7: Fix compilation warning in qp.el


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master d16b73f 7/7: Fix compilation warning in qp.el
Date: Wed, 12 Jun 2019 19:45:13 -0400 (EDT)

branch: master
commit d16b73fb4a9d87ec220444d220c6b45879806fc0
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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 5b49741..803d786 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]