]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/mml2015.el
lisp/gnus/mml2015.el (mml2015-epg-key-image): Wrap epg-gpg-program in shell-quote...
[gnu-emacs] / lisp / gnus / mml2015.el
index b20c02aa26f89494e40ba21424b60a90574fd174..39bce23e76ca3f9ac3267ee4554966510209cdaf 100644 (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)))))