(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))
"Encrypt FILE for RECIPIENTS."
(interactive
(list (expand-file-name (read-file-name "File: "))
- (epa-select-keys (epg-make-context) "Select recipents for encryption.
+ (epa-select-keys (epg-make-context) "Select recipients for encryption.
If no one is selected, symmetric encryption will be performed. ")))
(let ((cipher (concat file (if epa-armor ".asc" ".gpg")))
(context (epg-make-context)))
Don't use this command in Lisp programs!"
(interactive
(list (region-beginning) (region-end)
- (epa-select-keys (epg-make-context) "Select recipents for encryption.
+ (epa-select-keys (epg-make-context) "Select recipients for encryption.
If no one is selected, symmetric encryption will be performed. ")))
(save-excursion
(let ((context (epg-make-context))