From: Glenn Morris Date: Wed, 18 Aug 2010 02:33:13 +0000 (-0700) Subject: * lisp/woman.el (woman-translate): Case matters. (Bug#6849) X-Git-Tag: emacs-pretest-23.2.90~139^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb25c8d7a1da7de1cb5d12a47e27be30879c4237;p=emacs.git * lisp/woman.el (woman-translate): Case matters. (Bug#6849) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a0cdf2f8a77..8d74713da93 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-08-18 Glenn Morris + + * woman.el (woman-translate): Case matters. (Bug#6849) + 2010-08-14 Chong Yidong * simple.el (kill-region): Doc fix (Bug#6787). diff --git a/lisp/woman.el b/lisp/woman.el index 79d6d84aff1..eb21f01e564 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -3384,7 +3384,10 @@ Format paragraphs upto TO. Supports special chars. "Translate up to marker TO. Do this last of all transformations." (if translations (let ((matches (car translations)) - (alist (cdr translations))) + (alist (cdr translations)) + ;; Translations are case-sensitive, eg ".tr ab" does not + ;; affect "A" (bug#6849). + (case-fold-search nil)) (while (re-search-forward matches to t) ;; Done like this to retain text properties and ;; support translation of special characters: