diff options
| author | Martin Rudalics | 2018-01-13 08:59:31 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2018-01-13 08:59:31 +0100 |
| commit | 47aa85c7ec3b03c579171b6e6ce62e538f3a5b10 (patch) | |
| tree | 10e8d07f47a1d99cbb3142496db78e4c5b18faa0 /src | |
| parent | e9e32d34756bd51807ca0cc8bd975d15f5ce9181 (diff) | |
| download | emacs-47aa85c7ec3b03c579171b6e6ce62e538f3a5b10.tar.gz emacs-47aa85c7ec3b03c579171b6e6ce62e538f3a5b10.zip | |
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).
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 419a37033f7..51a53828b5b 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 | |||
| 1946 | if (!NILP (new_value) | 1946 | if (!NILP (new_value) |
| 1947 | && (!FRAMEP (new_value) | 1947 | && (!FRAMEP (new_value) |
| 1948 | || !FRAME_LIVE_P (p = XFRAME (new_value)) | 1948 | || !FRAME_LIVE_P (p = XFRAME (new_value)) |
| 1949 | || !FRAME_X_P (p))) | 1949 | || !FRAME_NS_P (p))) |
| 1950 | { | 1950 | { |
| 1951 | store_frame_param (f, Qparent_frame, old_value); | 1951 | store_frame_param (f, Qparent_frame, old_value); |
| 1952 | error ("Invalid specification of `parent-frame'"); | 1952 | error ("Invalid specification of `parent-frame'"); |