diff options
| author | Martin Rudalics | 2007-10-12 08:49:20 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2007-10-12 08:49:20 +0000 |
| commit | 40aa4c27cb7cac7ef2ff7a88c504cc2ae42da194 (patch) | |
| tree | 5eab8ea94a26997b3c468719af4a9516683b7488 /src/macfns.c | |
| parent | 5839d7e85ca7596071d459595f194f45027535df (diff) | |
| download | emacs-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.c | 10 |
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 | ||
| 1868 | void | 1860 | void |
| 1869 | x_set_title (f, name, old_name) | 1861 | x_set_title (f, name, old_name) |