On gpg encrypting (symmetrical) a file I get the warning: mouse-minibuffer-check: Wrong type argument: window-valid-p, #<window 40>
after clicking ok in the encryption dialogue buffer. The actual encryption seems to work, with password and repeat password prompts. I am using emacs-25.1.50.1, git-pulled and built today. I do not get the warning with emacs-24.5.1. Colin.