diff options
| author | Michael Olson | 2008-03-16 04:04:15 +0000 |
|---|---|---|
| committer | Michael Olson | 2008-03-16 04:04:15 +0000 |
| commit | fef7aa9ec6e2c32af894ba64e4b8b451218819ff (patch) | |
| tree | 555462f35b65a46e6841947fa92d8114e5aba217 | |
| parent | 2112d731b8e3f0c931b8c5404d2a9794da941990 (diff) | |
| download | emacs-fef7aa9ec6e2c32af894ba64e4b8b451218819ff.tar.gz emacs-fef7aa9ec6e2c32af894ba64e4b8b451218819ff.zip | |
EasyPG: Fix bug with C-x C-s after M-x epa-file-select-keys.
| -rw-r--r-- | lisp/epa-file.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/epa-file.el b/lisp/epa-file.el index e3c4a83deb8..558048403ce 100644 --- a/lisp/epa-file.el +++ b/lisp/epa-file.el | |||
| @@ -285,10 +285,13 @@ If no one is selected, symmetric encryption will be performed. " | |||
| 285 | (interactive) | 285 | (interactive) |
| 286 | (make-local-variable 'epa-file-encrypt-to) | 286 | (make-local-variable 'epa-file-encrypt-to) |
| 287 | (setq epa-file-encrypt-to | 287 | (setq epa-file-encrypt-to |
| 288 | (mapcar | ||
| 289 | (lambda (key) | ||
| 290 | (epg-sub-key-id (car (epg-key-sub-key-list key)))) | ||
| 288 | (epa-select-keys | 291 | (epa-select-keys |
| 289 | (epg-make-context) | 292 | (epg-make-context) |
| 290 | "Select recipents for encryption. | 293 | "Select recipents for encryption. |
| 291 | If no one is selected, symmetric encryption will be performed. "))) | 294 | If no one is selected, symmetric encryption will be performed. ")))) |
| 292 | 295 | ||
| 293 | ;;;###autoload | 296 | ;;;###autoload |
| 294 | (defun epa-file-enable () | 297 | (defun epa-file-enable () |