+2007-03-26 Daiki Ueno <ueno@unixuser.org>
+
+ * epa.el (epa--insert-keys): Changed arglist. All callers changed.
+
2007-03-25 Daiki Ueno <ueno@unixuser.org>
* epa.el (epa-protocol): defcustom -> defvar.
(interactive)
(funcall epa-exit-buffer-function))
-(defun epa--insert-keys (context name mode)
+(defun epa--insert-keys (keys)
(save-excursion
(save-restriction
(narrow-to-region (point) (point))
- (let ((keys (epg-list-keys context name mode))
- point)
+ (let (point)
(while keys
(setq point (point))
(insert " ")
(or (next-single-property-change point 'epa-list-keys)
(point-max)))
(goto-char point))
- (epa--insert-keys context name secret)
+ (epa--insert-keys (epg-list-keys context name secret))
(widget-setup)
(set-keymap-parent (current-local-map) widget-keymap))
(make-local-variable 'epa-list-keys-arguments)
"Click here or \\[exit-recursive-edit] to finish")
"OK")
(insert "\n\n")
- (epa--insert-keys context names secret)
+ (epa--insert-keys (epg-list-keys context name mode))
(widget-setup)
(set-keymap-parent (current-local-map) widget-keymap)
(setq epa-exit-buffer-function #'abort-recursive-edit)