From 51259a454b82ad6097190fe448eb2d1682905edf Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 14 Jun 2024 14:24:47 +0200 Subject: [PATCH] Remove 'self-insert-and-exit' --- lisp/minibuffer.el | 9 --------- 1 file changed, 9 deletions(-) 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.)") -- 2.39.2