From 20c80c461e607d3a6cc9e95a9012a26f93a38532 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 15 Apr 2025 17:21:14 -0400 Subject: [PATCH] fix: void-function use-dialog-box-p This function doesn't exist before Emacs 29, and also isn't meant to be used in a global context. Amend: 6a44a2ea80a7 --- lisp/lib/ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/lib/ui.el b/lisp/lib/ui.el index 7a7c5fc2e..62183a086 100644 --- a/lisp/lib/ui.el +++ b/lisp/lib/ui.el @@ -19,7 +19,7 @@ If FORCE-P is omitted when `window-size-fixed' is non-nil, resizing will fail." Returns t if it is safe to kill this session. Does not prompt if no real buffers are open." (or (not (ignore-errors (doom-real-buffer-list))) - (if (use-dialog-box-p) + (if use-dialog-box (pcase (x-popup-dialog t `("Really quit Emacs?" ("Quit anyway" . t)