Merge pull request #120 from nd/cyrillic

* fix 'Â' letters in a message view
This commit is contained in:
Dirk-Jan C. Binnema 2012-12-24 00:14:59 -08:00
commit 02948aadc7
1 changed files with 2 additions and 2 deletions

View File

@ -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))))