bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#545: 23.0.60; epg - cannot save changes on encrypted files


From: henry atting
Subject: bug#545: 23.0.60; epg - cannot save changes on encrypted files
Date: Sun, 13 Jul 2008 08:57:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eric Hanchrow wrote:

> Try this:
>
> diff --git a/lisp/epa-file.el b/lisp/epa-file.el
> index 25edba5..f621a53 100644
> --- a/lisp/epa-file.el
> +++ b/lisp/epa-file.el
> @@ -182,6 +182,9 @@
>              context
>              (if (stringp start)
>                  (epa-file--encode-coding-string start coding-system)
> +              (unless start
> +                (setq start (point-min)
> +                      end (point-max)))
>                (epa-file--encode-coding-string (buffer-substring start end)
>                                                coding-system))
>              (if (or epa-file-select-keys
>
> (This patch has already been checked in)

Thanks, works fine.

henry







reply via email to

[Prev in Thread] Current Thread [Next in Thread]