Support Emacs 24.4 (second attempt)

In Emacs 24.4, isearch-unread-key-sequence is now called isearch-unread and made more flexible. This patch fixes Emacs 24.4 without breaking backwards compatibility.