X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=56dd366959227f78f78ddeaace5e3ccc204d144a;hb=a9ab5e42af4464e37569221b8faaf5a7fec0cc8e;hp=b2cdace9e1262d860891ca436c88db1864a14d11;hpb=ae06fbfc76edc2ef320a51b6f774079d79078963;p=notmuch diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index b2cdace9..56dd3669 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -417,10 +417,8 @@ of its command symbol." "Refresh the current buffer." (interactive) (when notmuch-buffer-refresh-function - (if (commandp notmuch-buffer-refresh-function) - ;; Pass prefix argument, etc. - (call-interactively notmuch-buffer-refresh-function) - (funcall notmuch-buffer-refresh-function)))) + ;; Pass prefix argument, etc. + (call-interactively notmuch-buffer-refresh-function))) (defun notmuch-poll-and-refresh-this-buffer () "Invoke `notmuch-poll' to import mail, then refresh the current buffer."