Signal errors for unimplemented features
* src/frame.c (make_terminal_frame): Error for minibuffer-only frames. * src/term.c (Ftty_frame_restack): Signal error.
This commit is contained in:
parent
b67feec95e
commit
6fa2050ee7
2 changed files with 2 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue