emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 47aa85c: In nsterm.m use FRAME_NS_P instead of FR


From: Martin Rudalics
Subject: [Emacs-diffs] emacs-26 47aa85c: In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)
Date: Sat, 13 Jan 2018 03:00:35 -0500 (EST)

branch: emacs-26
commit 47aa85c7ec3b03c579171b6e6ce62e538f3a5b10
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    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).
---
 src/nsterm.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 419a370..51a5382 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -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'");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]