X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=epa.el;h=aae23130c0b7509dfdbd1c573fbdc823859316d5;hb=f4085b2fb3fa85f838d6136d893a03bfc6b2754f;hp=27b0dc056b596a81c70cb3473000757c3d33ef0e;hpb=2a2d8ac092d8e4847acd0fbe7fdfc50ab5f613c6;p=elisp%2Fepg.git diff --git a/epa.el b/epa.el index 27b0dc0..aae2313 100644 --- a/epa.el +++ b/epa.el @@ -388,7 +388,13 @@ If SECRET is non-nil, list secret keys instead of public keys." (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))