]> git.eshelyaron.com Git - emacs.git/commitdiff
Signal errors for unimplemented features
authorGerd Möllmann <gerd@gnu.org>
Thu, 12 Dec 2024 07:00:44 +0000 (08:00 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:54:52 +0000 (15:54 +0100)
* 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
src/term.c

index 91ab694cdecce01bbe8c0032703031afcd7ce0e8..8b31e8c721305931fb2f1ac5babc544b4ed1d9d4 100644 (file)
@@ -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);
        }
index a7f7baa6e3ca7ff8b5421e5d2e1bee4b30ddaea6..64df5261e504f8f2169998b9c9811ae0076a9447 100644 (file)
@@ -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;
 }