diff options
| author | Stefan Monnier | 2008-01-28 19:05:13 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-01-28 19:05:13 +0000 |
| commit | ef264c42097f5317044f6a85f895588184c2dbdd (patch) | |
| tree | 1932e85110df019104b66f5139e9cd0cc637d1ec /src/window.h | |
| parent | 10ef2ef78a0f1a25c7bf4176771fda524619446e (diff) | |
| download | emacs-ef264c42097f5317044f6a85f895588184c2dbdd.tar.gz emacs-ef264c42097f5317044f6a85f895588184c2dbdd.zip | |
* window.c (run_window_configuration_change_hook): New function.
Code extracted from set_window_buffer. Set the selected frame.
(set_window_buffer): Use it.
* window.h (run_window_configuration_change_hook): Declare.
* dispnew.c (change_frame_size_1): Use it instead of set-window-buffer.
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h index fb56be8bfb7..b2c62fde01f 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -790,6 +790,7 @@ extern void foreach_window P_ ((struct frame *, | |||
| 790 | extern void grow_mini_window P_ ((struct window *, int)); | 790 | extern void grow_mini_window P_ ((struct window *, int)); |
| 791 | extern void shrink_mini_window P_ ((struct window *)); | 791 | extern void shrink_mini_window P_ ((struct window *)); |
| 792 | 792 | ||
| 793 | void run_window_configuration_change_hook (struct frame *f); | ||
| 793 | 794 | ||
| 794 | /* Make WINDOW display BUFFER as its contents. RUN_HOOKS_P non-zero | 795 | /* Make WINDOW display BUFFER as its contents. RUN_HOOKS_P non-zero |
| 795 | means it's allowed to run hooks. See make_frame for a case where | 796 | means it's allowed to run hooks. See make_frame for a case where |