aboutsummaryrefslogtreecommitdiffstats
path: root/src/macfns.c
diff options
context:
space:
mode:
authorMartin Rudalics2007-10-12 08:49:20 +0000
committerMartin Rudalics2007-10-12 08:49:20 +0000
commit40aa4c27cb7cac7ef2ff7a88c504cc2ae42da194 (patch)
tree5eab8ea94a26997b3c468719af4a9516683b7488 /src/macfns.c
parent5839d7e85ca7596071d459595f194f45027535df (diff)
downloademacs-40aa4c27cb7cac7ef2ff7a88c504cc2ae42da194.tar.gz
emacs-40aa4c27cb7cac7ef2ff7a88c504cc2ae42da194.zip
(set-frame-configuration): Assign name parameter only
if it has been set explicitly before.
Diffstat (limited to 'src/macfns.c')
-rw-r--r--src/macfns.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/macfns.c b/src/macfns.c
index 8dff77cd5fd..1139158f165 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -1855,15 +1855,7 @@ x_implicitly_set_name (f, arg, oldval)
1855} 1855}
1856 1856
1857/* Change the title of frame F to NAME. 1857/* Change the title of frame F to NAME.
1858 If NAME is nil, use the frame name as the title. 1858 If NAME is nil, use the frame name as the title. */
1859
1860 If EXPLICIT is non-zero, that indicates that lisp code is setting the
1861 name; if NAME is a string, set F's name to NAME and set
1862 F->explicit_name; if NAME is Qnil, then clear F->explicit_name.
1863
1864 If EXPLICIT is zero, that indicates that Emacs redisplay code is
1865 suggesting a new name, which lisp code should override; if
1866 F->explicit_name is set, ignore the new name; otherwise, set it. */
1867 1859
1868void 1860void
1869x_set_title (f, name, old_name) 1861x_set_title (f, name, old_name)