From 4fb30ea955b0ef9e84f628896e08e32154e33919 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Thu, 12 Dec 2024 08:00:44 +0100 Subject: [PATCH] Signal errors for unimplemented features * src/frame.c (make_terminal_frame): Error for minibuffer-only frames. * src/term.c (Ftty_frame_restack): Signal error. (cherry picked from commit 6fa2050ee7663441e4d0aa4fff974cc5d45bffc7) --- src/frame.c | 9 +-------- src/term.c | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/frame.c b/src/frame.c index 91ab694cdec..8b31e8c7213 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1296,14 +1296,7 @@ make_terminal_frame (struct terminal *terminal, Lisp_Object parent, if (EQ (mini, Qnone) || NILP (mini)) f = make_frame_without_minibuffer (Qnil, kb, Qnil); else if (EQ (mini, Qonly)) - { -# if 0 /* No interest in this feature at the moment. */ - f = make_minibuffer_frame (); - /* Not sure about this, plus the unsplittable frame - param. */ - f->no_split = true; -# endif - } + error ("minibuffer-only child frames are not implemented"); else if (WINDOWP (mini)) f = make_frame_without_minibuffer (mini, kb, Qnil); } diff --git a/src/term.c b/src/term.c index a7f7baa6e3c..64df5261e50 100644 --- a/src/term.c +++ b/src/term.c @@ -4861,6 +4861,7 @@ DEFUN ("tty-frame-restack", Ftty_frame_restack, (Lisp_Object frame1, Lisp_Object frame2, Lisp_Object above) { /* FIXME/tty: tty-frame-restack implementation. */ + error ("tty-frame-restack is not implemented"); return Qnil; } -- 2.39.5