]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Fix out-of-date declare-function
authorAustin Clements <amdragon@MIT.EDU>
Sun, 19 Feb 2012 18:02:40 +0000 (13:02 -0500)
committerDavid Bremner <bremner@debian.org>
Tue, 21 Feb 2012 03:05:17 +0000 (23:05 -0400)
The names of the arguments to notmuch-show-refresh-view had gotten out
of sync between the declare-function and the real thing.

emacs/notmuch-crypto.el

index c7ef1eba2916dd5d91e0777ca58c603a156304ee..972f26e1530f4b7665e673a400e33d133607d3cf 100644 (file)
@@ -120,7 +120,7 @@ mode."
      :notmuch-from from)
     (insert "\n")))
 
      :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))
 
 (defun notmuch-crypto-sigstatus-good-callback (button)
   (let* ((sigstatus (button-get button :notmuch-sigstatus))