[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-
From: |
Sven Joachim |
Subject: |
bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil |
Date: |
Tue, 17 Aug 2010 20:39:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) |
On 2010-08-17 02:02 +0200, Glenn Morris wrote:
> Try this:
>
> *** lisp/woman.el 2010-07-14 15:57:54 +0000
> --- lisp/woman.el 2010-08-16 23:59:21 +0000
> ***************
> *** 3388,3394 ****
> "Translate up to marker TO. Do this last of all transformations."
> (if translations
> (let ((matches (car translations))
> ! (alist (cdr translations)))
> (while (re-search-forward matches to t)
> ;; Done like this to retain text properties and
> ;; support translation of special characters:
> --- 3388,3397 ----
> "Translate up to marker TO. Do this last of all transformations."
> (if translations
> (let ((matches (car 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:
Thanks, this patch helps.
Cheers,
Sven