mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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.
This commit is contained in:
parent
7db6ed2dd4
commit
1bbbde4a0c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue