It's possible for these hooks to be triggered recursively, such as in the case of emojify's "Emoji images not available should I download them now?" prompt (reported upstream). Fix: iqbalansari/emacs-emojify#100