+2006-05-28 Daiki Ueno <ueno@unixuser.org>
+
+ * epg.el (epg-start-import-keys): Don't specify filename if keys
+ is a string data.
+
2006-05-27 Daiki Ueno <ueno@unixuser.org>
* epg.el (epg--process-filter): Pass epg-context instead of
`epg-import-keys-from-file' or `epg-import-keys-from-string' instead."
(epg-context-set-operation context 'import-keys)
(epg-context-set-result context nil)
- (epg--start context (list "--import" (epg-data-file keys)))
+ (epg--start context (if (epg-data-file keys)
+ (list "--import" (epg-data-file keys))
+ (list "--import")))
(when (epg-data-string keys)
(if (eq (process-status (epg-context-process context)) 'run)
(process-send-string (epg-context-process context)