diff options
| -rw-r--r-- | admin/FOR-RELEASE | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/frame.el | 11 | ||||
| -rw-r--r-- | src/macfns.c | 10 | ||||
| -rw-r--r-- | src/w32fns.c | 10 | ||||
| -rw-r--r-- | src/xfns.c | 10 |
6 files changed, 15 insertions, 34 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 6cc5333cf3d..f31c4d07b7b 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -71,11 +71,6 @@ http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00138.html | |||
| 71 | http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01793.html | 71 | http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01793.html |
| 72 | [jpw@pobox.com has a patch] | 72 | [jpw@pobox.com has a patch] |
| 73 | 73 | ||
| 74 | ** Frame title no more updated after calling `set-frame-configuration' | ||
| 75 | Report by Sebastien Rocca Serra <sroccaserra@gmail.com> on emacs-devel | ||
| 76 | from 2007-08-30. [martin rudalics has a patch] | ||
| 77 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01632.html | ||
| 78 | |||
| 79 | * FIXES FOR EMACS 22.3 | 74 | * FIXES FOR EMACS 22.3 |
| 80 | 75 | ||
| 81 | Here we list any small fixes that arrived too late for Emacs 22.2, but | 76 | Here we list any small fixes that arrived too late for Emacs 22.2, but |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9fd351ce200..0f166360b10 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> | 1 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> |
| 2 | 2 | ||
| 3 | * frame.el (set-frame-configuration): Assign name parameter only | ||
| 4 | if it has been set explicitly before. | ||
| 5 | |||
| 3 | * window.el (handle-select-window): Revert part of 2007-10-06 | 6 | * window.el (handle-select-window): Revert part of 2007-10-06 |
| 4 | change setting the input focus. | 7 | change setting the input focus. |
| 5 | 8 | ||
diff --git a/lisp/frame.el b/lisp/frame.el index a169a8ec03c..cbdfa45d4f7 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -807,8 +807,15 @@ is given and non-nil, the unwanted frames are iconified instead." | |||
| 807 | ;; Since we can't set a frame's minibuffer status, | 807 | ;; Since we can't set a frame's minibuffer status, |
| 808 | ;; we might as well omit the parameter altogether. | 808 | ;; we might as well omit the parameter altogether. |
| 809 | (let* ((parms (nth 1 parameters)) | 809 | (let* ((parms (nth 1 parameters)) |
| 810 | (mini (assq 'minibuffer parms))) | 810 | (mini (assq 'minibuffer parms)) |
| 811 | (if mini (setq parms (delq mini parms))) | 811 | (name (assq 'name parms)) |
| 812 | (explicit-name (cdr (assq 'explicit-name parms)))) | ||
| 813 | (when mini (setq parms (delq mini parms))) | ||
| 814 | ;; Leave name in iff it was set explicitly. | ||
| 815 | ;; This should fix the behavior reported in | ||
| 816 | ;; http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01632.html | ||
| 817 | (when (and name (not explicit-name)) | ||
| 818 | (setq parms (delq name parms))) | ||
| 812 | parms)) | 819 | parms)) |
| 813 | (set-window-configuration (nth 2 parameters))) | 820 | (set-window-configuration (nth 2 parameters))) |
| 814 | (setq frames-to-delete (cons frame frames-to-delete)))))) | 821 | (setq frames-to-delete (cons frame frames-to-delete)))))) |
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) |
diff --git a/src/w32fns.c b/src/w32fns.c index d260b0d9be9..e8a2dc913de 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -1937,15 +1937,7 @@ x_implicitly_set_name (f, arg, oldval) | |||
| 1937 | } | 1937 | } |
| 1938 | 1938 | ||
| 1939 | /* Change the title of frame F to NAME. | 1939 | /* Change the title of frame F to NAME. |
| 1940 | If NAME is nil, use the frame name as the title. | 1940 | If NAME is nil, use the frame name as the title. */ |
| 1941 | |||
| 1942 | If EXPLICIT is non-zero, that indicates that lisp code is setting the | ||
| 1943 | name; if NAME is a string, set F's name to NAME and set | ||
| 1944 | F->explicit_name; if NAME is Qnil, then clear F->explicit_name. | ||
| 1945 | |||
| 1946 | If EXPLICIT is zero, that indicates that Emacs redisplay code is | ||
| 1947 | suggesting a new name, which lisp code should override; if | ||
| 1948 | F->explicit_name is set, ignore the new name; otherwise, set it. */ | ||
| 1949 | 1941 | ||
| 1950 | void | 1942 | void |
| 1951 | x_set_title (f, name, old_name) | 1943 | x_set_title (f, name, old_name) |
diff --git a/src/xfns.c b/src/xfns.c index 80f21411890..13672736849 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1764,15 +1764,7 @@ x_implicitly_set_name (f, arg, oldval) | |||
| 1764 | } | 1764 | } |
| 1765 | 1765 | ||
| 1766 | /* Change the title of frame F to NAME. | 1766 | /* Change the title of frame F to NAME. |
| 1767 | If NAME is nil, use the frame name as the title. | 1767 | If NAME is nil, use the frame name as the title. */ |
| 1768 | |||
| 1769 | If EXPLICIT is non-zero, that indicates that lisp code is setting the | ||
| 1770 | name; if NAME is a string, set F's name to NAME and set | ||
| 1771 | F->explicit_name; if NAME is Qnil, then clear F->explicit_name. | ||
| 1772 | |||
| 1773 | If EXPLICIT is zero, that indicates that Emacs redisplay code is | ||
| 1774 | suggesting a new name, which lisp code should override; if | ||
| 1775 | F->explicit_name is set, ignore the new name; otherwise, set it. */ | ||
| 1776 | 1768 | ||
| 1777 | void | 1769 | void |
| 1778 | x_set_title (f, name, old_name) | 1770 | x_set_title (f, name, old_name) |