X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=dfdcd0520b021e101acc2c105616c720b46c2f1a;hb=8480a0a00370f997a29ebf98560a799ece43d3f4;hp=abcbfa1f99b8b0f3b0e9e9bb2f409a314d39dd94;hpb=36dcbdeff6de2612e70fe58bdbc6c5b979b0eafa;p=notmuch 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