From 40aa4c27cb7cac7ef2ff7a88c504cc2ae42da194 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Fri, 12 Oct 2007 08:49:20 +0000 Subject: (set-frame-configuration): Assign name parameter only if it has been set explicitly before. --- src/macfns.c | 10 +--------- src/w32fns.c | 10 +--------- src/xfns.c | 10 +--------- 3 files changed, 3 insertions(+), 27 deletions(-) (limited to 'src') diff --git a/src/macfns.c b/src/macfns.c index 8dff77cd5f..1139158f16 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -1855,15 +1855,7 @@ x_implicitly_set_name (f, arg, oldval) } /* Change the title of frame F to NAME. - If NAME is nil, use the frame name as the title. - - If EXPLICIT is non-zero, that indicates that lisp code is setting the - name; if NAME is a string, set F's name to NAME and set - F->explicit_name; if NAME is Qnil, then clear F->explicit_name. - - If EXPLICIT is zero, that indicates that Emacs redisplay code is - suggesting a new name, which lisp code should override; if - F->explicit_name is set, ignore the new name; otherwise, set it. */ + If NAME is nil, use the frame name as the title. */ void x_set_title (f, name, old_name) diff --git a/src/w32fns.c b/src/w32fns.c index d260b0d9be..e8a2dc913d 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -1937,15 +1937,7 @@ x_implicitly_set_name (f, arg, oldval) } /* Change the title of frame F to NAME. - If NAME is nil, use the frame name as the title. - - If EXPLICIT is non-zero, that indicates that lisp code is setting the - name; if NAME is a string, set F's name to NAME and set - F->explicit_name; if NAME is Qnil, then clear F->explicit_name. - - If EXPLICIT is zero, that indicates that Emacs redisplay code is - suggesting a new name, which lisp code should override; if - F->explicit_name is set, ignore the new name; otherwise, set it. */ + If NAME is nil, use the frame name as the title. */ void x_set_title (f, name, old_name) diff --git a/src/xfns.c b/src/xfns.c index 80f2141189..1367273684 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1764,15 +1764,7 @@ x_implicitly_set_name (f, arg, oldval) } /* Change the title of frame F to NAME. - If NAME is nil, use the frame name as the title. - - If EXPLICIT is non-zero, that indicates that lisp code is setting the - name; if NAME is a string, set F's name to NAME and set - F->explicit_name; if NAME is Qnil, then clear F->explicit_name. - - If EXPLICIT is zero, that indicates that Emacs redisplay code is - suggesting a new name, which lisp code should override; if - F->explicit_name is set, ignore the new name; otherwise, set it. */ + If NAME is nil, use the frame name as the title. */ void x_set_title (f, name, old_name) -- cgit v1.2.3