2006-04-17 Daiki Ueno <ueno@unixuser.org>
+ * epa-file.el (epa-file-write-region): Check if START is a string.
+
+2006-04-17 Daiki Ueno <ueno@unixuser.org>
+
* epa-file.el: Rewritten with file-name-handler.
(epa-file-handler): New variable.
(epa-file-enable): New command.
(epa-file-disable): New command.
+
* epa-setup.el: Call epa-file-enable.
2006-04-17 Daiki Ueno <ueno@unixuser.org>
(setq string
(epg-encrypt-string
context
- (encode-coding-string (buffer-string) coding-system)
+ (if (stringp start)
+ (encode-coding-string start coding-system)
+ (encode-coding-string (buffer-string) coding-system))
(mapcar (lambda (key)
(epg-sub-key-id (car (epg-key-sub-key-list key))))
(unless (assoc file epa-file-passphrase-alist)