mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)
* src/nsterm.m (x_set_parent_frame): Call FRAME_NS_P instead of FRAME_X_P (Bug#30019).
This commit is contained in:
parent
e9e32d3475
commit
47aa85c7ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1946,7 +1946,7 @@ x_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_valu
|
|||
if (!NILP (new_value)
|
||||
&& (!FRAMEP (new_value)
|
||||
|| !FRAME_LIVE_P (p = XFRAME (new_value))
|
||||
|| !FRAME_X_P (p)))
|
||||
|| !FRAME_NS_P (p)))
|
||||
{
|
||||
store_frame_param (f, Qparent_frame, old_value);
|
||||
error ("Invalid specification of `parent-frame'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue