aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorJoakim Verona2011-06-26 22:00:24 +0200
committerJoakim Verona2011-06-26 22:00:24 +0200
commit76d08552619c83268f1353f449099f50ed6f93fa (patch)
tree321a375628d83d5c8aeea5876cf375ec7ad93f58 /src/window.c
parent9fa0e291e866fb7945e18cd2ad8514090c13d510 (diff)
parent5b66d427c05eba5493c27da28c460a129b4203cc (diff)
downloademacs-76d08552619c83268f1353f449099f50ed6f93fa.tar.gz
emacs-76d08552619c83268f1353f449099f50ed6f93fa.zip
first working example of mvc. multiple views of a slider are kept in sync
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c79
1 files changed, 20 insertions, 59 deletions
diff --git a/src/window.c b/src/window.c
index a5f95ea7883..ebfe318defd 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6443,69 +6443,30 @@ init_window (void)
6443void 6443void
6444syms_of_window (void) 6444syms_of_window (void)
6445{ 6445{
6446 Qscroll_up = intern_c_string ("scroll-up"); 6446 DEFSYM (Qscroll_up, "scroll-up");
6447 staticpro (&Qscroll_up); 6447 DEFSYM (Qscroll_down, "scroll-down");
6448 6448 DEFSYM (Qscroll_command, "scroll-command");
6449 Qscroll_down = intern_c_string ("scroll-down");
6450 staticpro (&Qscroll_down);
6451
6452 Qscroll_command = intern_c_string ("scroll-command");
6453 staticpro (&Qscroll_command);
6454 6449
6455 Fput (Qscroll_up, Qscroll_command, Qt); 6450 Fput (Qscroll_up, Qscroll_command, Qt);
6456 Fput (Qscroll_down, Qscroll_command, Qt); 6451 Fput (Qscroll_down, Qscroll_command, Qt);
6457 6452
6458 staticpro (&Qwindow_configuration_change_hook); 6453 DEFSYM (Qwindow_configuration_change_hook, "window-configuration-change-hook");
6459 Qwindow_configuration_change_hook 6454 DEFSYM (Qwindowp, "windowp");
6460 = intern_c_string ("window-configuration-change-hook"); 6455 DEFSYM (Qwindow_configuration_p, "window-configuration-p");
6461 6456 DEFSYM (Qwindow_live_p, "window-live-p");
6462 Qwindowp = intern_c_string ("windowp"); 6457 DEFSYM (Qwindow_deletable_p, "window-deletable-p");
6463 staticpro (&Qwindowp); 6458 DEFSYM (Qdelete_window, "delete-window");
6464 6459 DEFSYM (Qresize_root_window, "resize-root-window");
6465 Qwindow_configuration_p = intern_c_string ("window-configuration-p"); 6460 DEFSYM (Qresize_root_window_vertically, "resize-root-window-vertically");
6466 staticpro (&Qwindow_configuration_p); 6461 DEFSYM (Qsafe, "safe");
6467 6462 DEFSYM (Qdisplay_buffer, "display-buffer");
6468 Qwindow_live_p = intern_c_string ("window-live-p"); 6463 DEFSYM (Qreplace_buffer_in_windows, "replace-buffer-in-windows");
6469 staticpro (&Qwindow_live_p); 6464 DEFSYM (Qrecord_window_buffer, "record-window-buffer");
6470 6465 DEFSYM (Qget_mru_window, "get-mru-window");
6471 Qwindow_deletable_p = intern_c_string ("window-deletable-p"); 6466 DEFSYM (Qtemp_buffer_show_hook, "temp-buffer-show-hook");
6472 staticpro (&Qwindow_deletable_p); 6467 DEFSYM (Qabove, "above");
6473 6468 DEFSYM (Qbelow, "below");
6474 Qdelete_window = intern_c_string ("delete-window"); 6469 DEFSYM (Qauto_buffer_name, "auto-buffer-name");
6475 staticpro (&Qdelete_window);
6476
6477 Qresize_root_window = intern_c_string ("resize-root-window");
6478 staticpro (&Qresize_root_window);
6479
6480 Qresize_root_window_vertically = intern_c_string ("resize-root-window-vertically");
6481 staticpro (&Qresize_root_window_vertically);
6482
6483 Qsafe = intern_c_string ("safe");
6484 staticpro (&Qsafe);
6485
6486 Qdisplay_buffer = intern_c_string ("display-buffer");
6487 staticpro (&Qdisplay_buffer);
6488
6489 Qreplace_buffer_in_windows = intern_c_string ("replace-buffer-in-windows");
6490 staticpro (&Qreplace_buffer_in_windows);
6491
6492 Qrecord_window_buffer = intern_c_string ("record-window-buffer");
6493 staticpro (&Qrecord_window_buffer);
6494
6495 Qget_mru_window = intern_c_string ("get-mru-window");
6496 staticpro (&Qget_mru_window);
6497
6498 Qtemp_buffer_show_hook = intern_c_string ("temp-buffer-show-hook");
6499 staticpro (&Qtemp_buffer_show_hook);
6500
6501 Qabove = intern_c_string ("above");
6502 staticpro (&Qabove);
6503
6504 Qbelow = intern_c_string ("below");
6505 staticpro (&Qbelow);
6506
6507 Qauto_buffer_name = intern_c_string ("auto-buffer-name");
6508 staticpro (&Qauto_buffer_name);
6509 6470
6510 staticpro (&Vwindow_list); 6471 staticpro (&Vwindow_list);
6511 6472