[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: |
Eric Hanchrow |
Subject: |
bug#545: 23.0.60; epg - cannot save changes on encrypted files |
Date: |
Sat, 12 Jul 2008 06:05:37 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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)
--
A DRE voting system is one of the simplest computer
applications you could imagine. It just adds by one.
-- Brit Williams, emeritus professor of computer science