minibuffer

How to make Emacs unusable using the hook post-self-insert-hook?

September 20, 2023
(defun insert-^^ () (insert "^^"))

(add-hook 'post-self-insert-hook #'insert-^^)
(remove-hook 'post-self-insert-hook #'insert-^^)