X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=56dd366959227f78f78ddeaace5e3ccc204d144a;hp=b2cdace9e1262d860891ca436c88db1864a14d11;hb=5e83fe979dc67a9aaad6eee28735e0ab47b1743c;hpb=cd7e497d07e7cdf04f968515dff39f419e8679b2 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."