diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-01-10 15:00:58 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-01-13 07:23:11 -0400 |
| commit | 1bbbde4a0c3153f6caa30724bd173397be43144f (patch) | |
| tree | 637e188fa0cfbf4e6a8499d7015816ffcb0c8574 | |
| parent | 7db6ed2dd4253e5da4d96aae3e446d663c4a149f (diff) | |
emacs: notmuch-crypto-status-button-type: fix potential bug
The "help-echo" can potentially contain an unintended %-spec
so we have to make sure it would not be treated as such.
| -rw-r--r-- | emacs/notmuch-crypto.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index 50a3de46..db7cb75d 100644 --- a/emacs/notmuch-crypto.el +++ b/emacs/notmuch-crypto.el @@ -103,7 +103,7 @@ mode." ;;; Functions (define-button-type 'notmuch-crypto-status-button-type - 'action (lambda (button) (message (button-get button 'help-echo))) + 'action (lambda (button) (message "%s" (button-get button 'help-echo))) 'follow-link t 'help-echo "Set notmuch-crypto-process-mime to process cryptographic mime parts." :supertype 'notmuch-button-type) |
