primary secret key by default.
This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.
+2006-07-01 Daiki Ueno <ueno@unixuser.org>
+
+ * epa.el (epa-select-keys): If SECRET is specified, select a
+ primary secret key by default.
+
2006-06-29 Daiki Ueno <ueno@unixuser.org>
* EasyPG: Version 0.0.3 released.
(epa-mark)
(goto-char (point-max))
(setq names (cdr names)))
- (epa-insert-keys context nil secret))
+ (if secret
+ (progn
+ (setq point (point))
+ (epa-insert-keys context nil secret)
+ (goto-char point)
+ (epa-mark))
+ (epa-insert-keys context nil nil)))
(epa-keys-mode)
(setq epa-exit-buffer-function #'abort-recursive-edit)
(goto-char (point-min))