Subject: Re: bug#5313: editing files in hexl-mode corrupts file

From: Jonathan Underwood <[email-masked]>
Date: Thu, 14 Jan 2010 13:36:48 +0000

2010/1/14 Juanma Barranquero <[email-masked]>:
> Could you please try the following patch?
>
> === modified file 'lisp/hexl.el'
> --- lisp/hexl.el        2010-01-13 08:35:10 +0000
> +++ lisp/hexl.el        2010-01-14 00:38:04 +0000
> @@ -779,7 +779,7 @@
>
>  (defun hexl-printable-character (ch)
>   "Return a displayable string for character CH."
> -  (format "%c" (if hexl-iso
> +  (format "%c" (if (not (equal hexl-iso ""))
>                   (if (or (< ch 32) (and (>= ch 127) (< ch 160)))
>                       46
>                     ch)
>

Thanks. I have pushed builds for Fedora 11 and 12 incorporating that patch.