diff options
| author | Martin Rudalics | 2012-08-27 23:07:32 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2012-08-27 23:07:32 +0200 |
| commit | 95072a9468d22a66a22481722bc2f46ce30863d2 (patch) | |
| tree | f5a50040c036764cb9bcca37d350e1114fe0b425 /src | |
| parent | 0f19feff2536f40cd10c3b7201ecd89e40148626 (diff) | |
| download | emacs-95072a9468d22a66a22481722bc2f46ce30863d2.tar.gz emacs-95072a9468d22a66a22481722bc2f46ce30863d2.zip | |
In Fset_window_configuration revert first part of last change.
* window.c (Fset_window_configuration): Revert first part of
last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/window.c | 18 |
2 files changed, 5 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 79735225542..2861a2f0f89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-27 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.c (Fset_window_configuration): Revert first part of | ||
| 4 | last change. | ||
| 5 | |||
| 1 | 2012-08-27 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2012-08-27 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * nsterm.h (NSPanel): New class variable dialog_return. | 8 | * nsterm.h (NSPanel): New class variable dialog_return. |
diff --git a/src/window.c b/src/window.c index b3c5d276f97..330636efed9 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5616,24 +5616,6 @@ the return value is nil. Otherwise the value is t. */) | |||
| 5616 | int previous_frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f); | 5616 | int previous_frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f); |
| 5617 | int previous_frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f); | 5617 | int previous_frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f); |
| 5618 | 5618 | ||
| 5619 | /* Don't do this within the main loop below: This may call Lisp | ||
| 5620 | code and is thus potentially unsafe while input is blocked. */ | ||
| 5621 | for (k = 0; k < saved_windows->header.size; k++) | ||
| 5622 | { | ||
| 5623 | p = SAVED_WINDOW_N (saved_windows, k); | ||
| 5624 | window = p->window; | ||
| 5625 | w = XWINDOW (window); | ||
| 5626 | |||
| 5627 | if (!NILP (p->buffer) | ||
| 5628 | && ((!EQ (w->buffer, p->buffer) | ||
| 5629 | && !NILP (BVAR (XBUFFER (p->buffer), name))) | ||
| 5630 | || NILP (w->buffer) | ||
| 5631 | || NILP (BVAR (XBUFFER (w->buffer), name)))) | ||
| 5632 | /* Record old buffer of window when its buffer is going to | ||
| 5633 | change. */ | ||
| 5634 | call1 (Qrecord_window_buffer, window); | ||
| 5635 | } | ||
| 5636 | |||
| 5637 | /* The mouse highlighting code could get screwed up | 5619 | /* The mouse highlighting code could get screwed up |
| 5638 | if it runs during this. */ | 5620 | if it runs during this. */ |
| 5639 | BLOCK_INPUT; | 5621 | BLOCK_INPUT; |