I already use middle mouse to paste/yank. However flyspell seems to hijack this, making it impossible to paste in the vicinity of a correctable word.
With the help of this question I have discovered that I can add the correct-word functionality to the more sane right-mouse button with
(eval-after-load "flyspell" '(progn (define-key flyspell-mouse-map [down-mouse-3] #'flyspell-correct-word) (define-key flyspell-mouse-map [mouse-3] #'undefined)))
however this doesn't change the middle mouse button behaviour.
How do I clear flyspell's default binding of the middle mouse so I can always use middle mouse to paste? It would also be appreciated if the relevant lisp could be explained. Although I managed to copy and paste the above to good effect, it's inner workings are a mystery to me.