lisp/gnus/mml2015.el (mml2015-epg-key-image): Wrap epg-gpg-program in shell-quote-argument

This commit is contained in:
Adam Sjøgren 2013-02-25 22:47:31 +00:00 committed by Katsumi Yamaoka
parent cd27a76dad
commit d9bb0d4811
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-02-25 Adam Sjøgren <asjo@koldfront.dk>
* mml2015-el (mml2015-epg-key-image): Wrap epg-gpg-program in
shell-quote-argument.
2013-02-22 David Engster <deng@randomsample.de>
* gnus-registry.el (gnus-registry-save): Provide class name when

View file

@ -865,7 +865,7 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
(coding-system-for-read 'binary)
(data (shell-command-to-string
(format "%s --list-options no-show-photos --attribute-fd 3 --list-keys %s 3>&1 >/dev/null 2>&1"
epg-gpg-program key-id))))
(shell-quote-argument epg-gpg-program) key-id))))
(when (> (length data) 0)
(insert (substring data 16))
(create-image (buffer-string) nil t)))))