X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-address.el;h=5b2beefeb823c906280755ed4da121fe209969ee;hb=2dd96d6bd642c3b32ce1997528f69665019b7497;hp=36c796f9e34d11145dda5162a3360cf5db2f31c6;hpb=343534d82dc8882b3f0e2a847ee9d10ba5392809;p=notmuch diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el index 36c796f9..5b2beefe 100644 --- a/emacs/notmuch-address.el +++ b/emacs/notmuch-address.el @@ -98,7 +98,7 @@ to know how address selection is made by default." :group 'notmuch-send :group 'notmuch-external) -(defcustom notmuch-address-completion-hook nil +(defcustom notmuch-address-post-completion-functions nil "Functions called after completing address. The completed address is passed as an argument to each function. @@ -218,7 +218,7 @@ external commands." (push chosen notmuch-address-history) (delete-region beg end) (insert chosen) - (run-hook-with-args 'notmuch-address-completion-hook chosen)) + (run-hook-with-args 'notmuch-address-post-completion-functions chosen)) (message "No matches.") (ding)))) (t nil)))