commit 6f66d9bfc5ba2d53774049429dcf9f79b74c9d18 from: Omar Polo date: Sat Apr 24 15:38:23 2021 UTC don't allow recursion on yornp if we're already in the minibuffer, just assume a "no" response, it's the easiest (and safest) thing to do. commit - f7a80b3c01b99f11221d6f22baab258f37998a83 commit + 6f66d9bfc5ba2d53774049429dcf9f79b74c9d18 blob - 580d89598c1fc7c28a1f8c78650b3fc7b96867c5 blob + 103861c1e994da6d699369a3889c63c53081beef --- ui.c +++ ui.c @@ -2043,6 +2043,11 @@ ui_yornp(const char *prompt, void (*fn)(int, unsigned { size_t len; + if (in_minibuffer) { + fn(0, data); + return; + } + yornp_cb = fn; yornp_data = data; enter_minibuffer(yornp_self_insert, yornp_self_insert,