summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-01-04 23:11:07 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2021-01-04 23:41:31 -0500
commit5bddc097385c1d9088748ed92abc2370857b2202 (patch)
tree1a25feb9a2f22205c65fe80c10b3ce73811a0a70 /src/buffer.c
parentd6f30e5632b1c9cf43ebfbdbf164d5c54be33475 (diff)
downloademacs-5bddc097385c1d9088748ed92abc2370857b2202.tar.gz
* lisp/subr.el (ctl-x-map): Initialize inside the declaration.
* src/command.h (control_x_map): * src/keymap.c (control_x_map): Delete variable. (syms_of_keymap): * src/keyboard.c (keys_of_keyboard): * src/casefiddle.c (keys_of_casefiddle): * src/window.c (keys_of_window): Move initialization of ctl-x-map to subr.el. * src/lisp.h (syms_of_buffer): * src/buffer.c (keys_of_buffer): Delete function. * src/emacs.c (main): Don't call it.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0a7ff6e6752..71ad5edd527 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6380,10 +6380,3 @@ nil NORECORD argument since it may lead to infinite recursion. */);
Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt);
}
-
-void
-keys_of_buffer (void)
-{
- initial_define_key (control_x_map, 'b', "switch-to-buffer");
- initial_define_key (control_x_map, 'k', "kill-buffer");
-}