X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=dfdcd0520b021e101acc2c105616c720b46c2f1a;hp=abcbfa1f99b8b0f3b0e9e9bb2f409a314d39dd94;hb=7171e77d4d1e83fdf9c7a56987b98bce3f181598;hpb=c7189ed607f2715d60133743bf616011796c7e14 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index abcbfa1f..dfdcd052 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -87,6 +87,11 @@ the user hasn't set this variable with the old or new value." "Return the user.primary_email value from the notmuch configuration." (notmuch-config-get "user.primary_email")) +(defun notmuch-kill-this-buffer () + "Kill the current buffer." + (interactive) + (kill-buffer (current-buffer))) + ;; ;; XXX: This should be a generic function in emacs somewhere, not