]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove 'self-insert-and-exit'
authorEshel Yaron <me@eshelyaron.com>
Fri, 14 Jun 2024 12:24:47 +0000 (14:24 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Jun 2024 17:21:07 +0000 (19:21 +0200)
lisp/minibuffer.el

index 8654181521863f3eb6d48d3e7c4c043c562786a3..f4d7e2cdef73c839cf35b7e3bf33044fc252ddc3 100644 (file)
@@ -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.)")