]> git.eshelyaron.com Git - emacs.git/commit
Allow exit-minibuffer to be called from Lisp code. Fixes bug #46373
authorAlan Mackenzie <acm@muc.de>
Tue, 9 Feb 2021 09:41:13 +0000 (09:41 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 9 Feb 2021 09:41:13 +0000 (09:41 +0000)
commit69d3a6c90f9bafdc4742097d1828ed7204aa12e0
tree7f43dc024c3e05bbc9a15bf277be34c96948af52
parent5131e3accccc7bb3d59ab03cbb990eb3261ee9da
Allow exit-minibuffer to be called from Lisp code.  Fixes bug #46373

* lisp/minibuffer.el (exit-minibuffer): Throw the error "Not in most nested
minibuffer" only when the current buffer is a minibuffer (thus the command
came directly from a key binding).

* doc/lispref/minibuf.texi (Minibuffer Commands): Change the documentation
accordingly.
doc/lispref/minibuf.texi
lisp/minibuffer.el