[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 97e4be8: lisp/gnus/qp.el: Don't replace "from " a
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] emacs-25 97e4be8: lisp/gnus/qp.el: Don't replace "from " at bol |
Date: |
Fri, 04 Dec 2015 05:16:23 +0000 |
branch: emacs-25
commit 97e4be833be6d336088c170d7a1bddda40c430a1
Author: Daiki Ueno <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>
lisp/gnus/qp.el: Don't replace "from " at bol
* lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
to nil when looking for "^From ". Problem reported by Simon Josefsson.
---
lisp/gnus/qp.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/gnus/qp.el b/lisp/gnus/qp.el
index 6c48f0f..d7ed30d 100644
--- a/lisp/gnus/qp.el
+++ b/lisp/gnus/qp.el
@@ -143,7 +143,8 @@ encode lines starting with \"From\"."
(and (boundp 'mm-use-ultra-safe-encoding)
mm-use-ultra-safe-encoding)))
(when (or fold mm-use-ultra-safe-encoding)
- (let ((tab-width 1)) ; HTAB is one character.
+ (let ((tab-width 1) ; HTAB is one character.
+ (case-fold-search nil))
(goto-char (point-min))
(while (not (eobp))
;; In ultra-safe mode, encode "From " at the beginning
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 97e4be8: lisp/gnus/qp.el: Don't replace "from " at bol,
Katsumi Yamaoka <=