From 9db55ac7ab98eee388b7d4b6aa9375be5cd4cf06 Mon Sep 17 00:00:00 2001 From: Dmitry Neverov Date: Sun, 23 Dec 2012 23:55:54 +0400 Subject: [PATCH] =?UTF-8?q?Fix=20'=C2'=20letters=20in=20a=20message=20view?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mu4e/mu4e-message.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e-message.el b/mu4e/mu4e-message.el index ae8b8ffb..3ffd74a3 100644 --- a/mu4e/mu4e-message.el +++ b/mu4e/mu4e-message.el @@ -175,10 +175,10 @@ part, but this can be changed by setting (with-temp-buffer (insert body) (goto-char (point-min)) - (while (re-search-forward "[  ’]" nil t) + (while (re-search-forward "[  ’]" nil t) (replace-match (cond - ((string= (match-string 0) "Â’") "'") + ((string= (match-string 0) "’") "'") (t "")))) (buffer-string))))