diff options
| author | Stefan Monnier | 2008-10-26 04:13:46 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-10-26 04:13:46 +0000 |
| commit | f5385255de06994bfc8217a9e8612af9cc45d795 (patch) | |
| tree | f8b663d94773b16a109046cc16f3b59ffc466b09 /src | |
| parent | b6576049821dc2adeb8c5c25ca6a059101443563 (diff) | |
| download | emacs-f5385255de06994bfc8217a9e8612af9cc45d795.tar.gz emacs-f5385255de06994bfc8217a9e8612af9cc45d795.zip | |
(Fset_window_buffer): Undo 2008-10-18 change to re-instate
the distinction between non-nil and non-t value of `dedicated'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 39 | ||||
| -rw-r--r-- | src/window.c | 7 |
2 files changed, 24 insertions, 22 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index de78a5e574f..568182595d8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,8 +1,12 @@ | |||
| 1 | 2008-10-26 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate | ||
| 4 | the distinction between non-nil and non-t value of `dedicated'. | ||
| 5 | |||
| 1 | 2008-10-25 Chong Yidong <cyd@stupidchicken.com> | 6 | 2008-10-25 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * keyboard.c (read_char_minibuf_menu_prompt): Ensure that | 8 | * keyboard.c (read_char_minibuf_menu_prompt): Ensure that |
| 4 | read_char_minibuf_menu_text is large enough to hold the menu | 9 | read_char_minibuf_menu_text is large enough to hold the menu string. |
| 5 | string. | ||
| 6 | 10 | ||
| 7 | 2008-10-25 Martin Rudalics <rudalics@gmx.at> | 11 | 2008-10-25 Martin Rudalics <rudalics@gmx.at> |
| 8 | 12 | ||
| @@ -12,8 +16,8 @@ | |||
| 12 | 16 | ||
| 13 | 2008-10-24 Chong Yidong <cyd@stupidchicken.com> | 17 | 2008-10-24 Chong Yidong <cyd@stupidchicken.com> |
| 14 | 18 | ||
| 15 | * xdisp.c (handle_single_display_spec, handle_display_prop): Undo | 19 | * xdisp.c (handle_single_display_spec, handle_display_prop): |
| 16 | 2005-05-16 change. | 20 | Undo 2005-05-16 change. |
| 17 | (handle_stop): Pop iterator if it's loaded with an empty string. | 21 | (handle_stop): Pop iterator if it's loaded with an empty string. |
| 18 | (get_overlay_strings_1): Don't save iterator if it's loaded with | 22 | (get_overlay_strings_1): Don't save iterator if it's loaded with |
| 19 | an empty string (bug#1201). | 23 | an empty string (bug#1201). |
| @@ -32,8 +36,7 @@ | |||
| 32 | 2008-10-24 Michael Albinus <michael.albinus@gmx.de> | 36 | 2008-10-24 Michael Albinus <michael.albinus@gmx.de> |
| 33 | 37 | ||
| 34 | * dbusbind.c (xd_in_read_queued_messages): New variable. | 38 | * dbusbind.c (xd_in_read_queued_messages): New variable. |
| 35 | (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros. Throw | 39 | (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros. Throw Qdbus_error. |
| 36 | Qdbus_error. | ||
| 37 | (xd_read_queued_messages): Catch Qdbus_error from the macros. | 40 | (xd_read_queued_messages): Catch Qdbus_error from the macros. |
| 38 | (all): Replace xsignal1, xsignal2, xsignal3 by the respective | 41 | (all): Replace xsignal1, xsignal2, xsignal3 by the respective |
| 39 | macro. (Bug#1186). | 42 | macro. (Bug#1186). |
| @@ -51,8 +54,7 @@ | |||
| 51 | 54 | ||
| 52 | * buffer.c (Fget_buffer_create): Rename arg to buffer_or_name. | 55 | * buffer.c (Fget_buffer_create): Rename arg to buffer_or_name. |
| 53 | Reword doc-string. | 56 | Reword doc-string. |
| 54 | (Fbury_buffer): In doc-string say what happens to the buffer's | 57 | (Fbury_buffer): In doc-string say what happens to the buffer's window. |
| 55 | window. | ||
| 56 | 58 | ||
| 57 | 2008-10-23 Juanma Barranquero <lekktu@gmail.com> | 59 | 2008-10-23 Juanma Barranquero <lekktu@gmail.com> |
| 58 | 60 | ||
| @@ -75,8 +77,7 @@ | |||
| 75 | Reword doc-string. | 77 | Reword doc-string. |
| 76 | (Fset_window_parameter): Use NILP. | 78 | (Fset_window_parameter): Use NILP. |
| 77 | (Fscroll_up, Fscroll_down, Fminibuffer_selected_window) | 79 | (Fscroll_up, Fscroll_down, Fminibuffer_selected_window) |
| 78 | (Frecenter): Use "selected" instead of "current" window in | 80 | (Frecenter): Use "selected" instead of "current" window in doc-strings. |
| 79 | doc-strings. | ||
| 80 | 81 | ||
| 81 | 2008-10-22 Juanma Barranquero <lekktu@gmail.com> | 82 | 2008-10-22 Juanma Barranquero <lekktu@gmail.com> |
| 82 | 83 | ||
| @@ -159,8 +160,8 @@ | |||
| 159 | 160 | ||
| 160 | * window.c (Fwindow_width, Fset_window_start) | 161 | * window.c (Fwindow_width, Fset_window_start) |
| 161 | (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter) | 162 | (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter) |
| 162 | (Fdelete_windows_on, Freplace_buffer_in_windows): Make | 163 | (Fdelete_windows_on, Freplace_buffer_in_windows): |
| 163 | doc-strings follow code and Elisp manual more closely. | 164 | Make doc-strings follow code and Elisp manual more closely. |
| 164 | (Fwindow_dedicated_p): Make window argument optional. | 165 | (Fwindow_dedicated_p): Make window argument optional. |
| 165 | (Fset_window_dedicated_p): Rename argument "arg" to "flag". | 166 | (Fset_window_dedicated_p): Rename argument "arg" to "flag". |
| 166 | (Fset_window_buffer): Respect any non-nil dedicated value for | 167 | (Fset_window_buffer): Respect any non-nil dedicated value for |
| @@ -228,8 +229,8 @@ | |||
| 228 | * fontset.c (face_for_char): If face->fontset is negative, just | 229 | * fontset.c (face_for_char): If face->fontset is negative, just |
| 229 | return ascii_face. | 230 | return ascii_face. |
| 230 | 231 | ||
| 231 | * font.c (font_delete_unmatched): Fix previous change. Don't | 232 | * font.c (font_delete_unmatched): Fix previous change. |
| 232 | reject an entity if DPI and AVGWIDTH of an entity are 0. | 233 | Don't reject an entity if DPI and AVGWIDTH of an entity are 0. |
| 233 | 234 | ||
| 234 | 2008-10-09 Martin Rudalics <rudalics@gmx.at> | 235 | 2008-10-09 Martin Rudalics <rudalics@gmx.at> |
| 235 | 236 | ||
| @@ -247,13 +248,11 @@ | |||
| 247 | 248 | ||
| 248 | 2008-10-06 Andreas Schwab <schwab@suse.de> | 249 | 2008-10-06 Andreas Schwab <schwab@suse.de> |
| 249 | 250 | ||
| 250 | * sysdep.c (sys_signal): Always set SA_RESTART when | 251 | * sysdep.c (sys_signal): Always set SA_RESTART when noninteractively. |
| 251 | noninteractively. | ||
| 252 | 252 | ||
| 253 | 2008-10-06 Chong Yidong <cyd@stupidchicken.com> | 253 | 2008-10-06 Chong Yidong <cyd@stupidchicken.com> |
| 254 | 254 | ||
| 255 | * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from | 255 | * emacs.c (Vbefore_init_time, Vafter_init_time): Move from startup.el. |
| 256 | startup.el. | ||
| 257 | 256 | ||
| 258 | * lisp.h (Vbefore_init_time, Vafter_init_time): Declare. | 257 | * lisp.h (Vbefore_init_time, Vafter_init_time): Declare. |
| 259 | 258 | ||
| @@ -306,8 +305,8 @@ | |||
| 306 | 305 | ||
| 307 | * nsterm.m (ns_frame_rehighlight): Remove commented code. | 306 | * nsterm.m (ns_frame_rehighlight): Remove commented code. |
| 308 | (draw_window_cursor): Simplify code. | 307 | (draw_window_cursor): Simplify code. |
| 309 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't | 308 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): |
| 310 | change cursor type. In latter, call rehighlight instead of doing | 309 | Don't change cursor type. In latter, call rehighlight instead of doing |
| 311 | updates manually. | 310 | updates manually. |
| 312 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): | 311 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): |
| 313 | Use core Emacs cursor types. | 312 | Use core Emacs cursor types. |
diff --git a/src/window.c b/src/window.c index 5931955fd66..737eeed3f35 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3522,8 +3522,11 @@ This function runs the hook `window-scroll-functions'. */) | |||
| 3522 | else if (!EQ (tem, Qt)) | 3522 | else if (!EQ (tem, Qt)) |
| 3523 | /* w->buffer is t when the window is first being set up. */ | 3523 | /* w->buffer is t when the window is first being set up. */ |
| 3524 | { | 3524 | { |
| 3525 | if (!NILP (w->dedicated) && !EQ (tem, buffer)) | 3525 | if (!EQ (tem, buffer)) |
| 3526 | error ("Window is dedicated to `%s'", SDATA (XBUFFER (tem)->name)); | 3526 | if (EQ (w->dedicated, Qt)) |
| 3527 | error ("Window is dedicated to `%s'", SDATA (XBUFFER (tem)->name)); | ||
| 3528 | else | ||
| 3529 | w->dedicated = Qnil; | ||
| 3527 | 3530 | ||
| 3528 | unshow_buffer (w); | 3531 | unshow_buffer (w); |
| 3529 | } | 3532 | } |