From: Eshel Yaron Date: Fri, 14 Jun 2024 12:24:47 +0000 (+0200) Subject: Remove 'self-insert-and-exit' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51259a454b82ad6097190fe448eb2d1682905edf;p=emacs.git Remove 'self-insert-and-exit' --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 86541815218..f4d7e2cdef7 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -3175,15 +3175,6 @@ If nil, it defaults to 1." (throw 'exit (lambda () (minibuffer-quit-recursive-edit (1- levels)))) (throw 'exit (lambda () (signal 'minibuffer-quit nil))))) -(defun self-insert-and-exit () - "Terminate minibuffer input." - (declare (obsolete nil "30.1")) - (interactive) - (if (characterp last-command-event) - (call-interactively 'self-insert-command) - (ding)) - (exit-minibuffer)) - (defvar completion-in-region-functions nil "Wrapper hook around `completion--in-region'. \(See `with-wrapper-hook' for details about wrapper hooks.)")