From: Austin Clements <amdragon@MIT.EDU>
Date: Sun, 19 Feb 2012 18:02:40 +0000 (-0500)
Subject: emacs: Fix out-of-date declare-function
X-Git-Tag: debian/0.12_rc1-1~57
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=311e8f6c4562298b4e826ce131597e085ece69d3;p=notmuch

emacs: Fix out-of-date declare-function

The names of the arguments to notmuch-show-refresh-view had gotten out
of sync between the declare-function and the real thing.
---

diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index c7ef1eba..972f26e1 100644
--- a/emacs/notmuch-crypto.el
+++ b/emacs/notmuch-crypto.el
@@ -120,7 +120,7 @@ mode."
      :notmuch-from from)
     (insert "\n")))
 
-(declare-function notmuch-show-refresh-view "notmuch-show" (&optional crypto-switch))
+(declare-function notmuch-show-refresh-view "notmuch-show" (&optional retain-state))
 
 (defun notmuch-crypto-sigstatus-good-callback (button)
   (let* ((sigstatus (button-get button :notmuch-sigstatus))