diff --git a/lisp/tmm.el b/lisp/tmm.el index 40462a1785e..6864f93fb86 100644 --- a/lisp/tmm.el +++ b/lisp/tmm.el @@ -326,7 +326,6 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'." (defun tmm-add-prompt () (remove-hook 'minibuffer-setup-hook 'tmm-add-prompt) - (make-local-hook 'minibuffer-exit-hook) (add-hook 'minibuffer-exit-hook 'tmm-delete-map nil t) (let ((win (selected-window))) (setq tmm-old-mb-map (tmm-define-keys t))