with pgg-default-user-id.
+2006-07-04 Daiki Ueno <ueno@unixuser.org>
+
+ * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
+ with pgg-default-user-id.
+
2006-07-01 Daiki Ueno <ueno@unixuser.org>
* epa.el (epa-select-keys): If SECRET is specified, select a
(epg-context-set-armor context t)
(epg-context-set-textmode context pgg-text-mode)
(epg-context-set-passphrase-callback context #'pgg-epg-passphrase-callback)
+ (epg-context-set-signers
+ context
+ (list (car (epg-list-keys context pgg-default-user-id t))))
(save-excursion
(set-buffer (get-buffer-create pgg-output-buffer))
(erase-buffer)