diff options
| author | Stefan Monnier | 2021-01-04 23:11:07 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2021-01-04 23:41:31 -0500 |
| commit | 5bddc097385c1d9088748ed92abc2370857b2202 (patch) | |
| tree | 1a25feb9a2f22205c65fe80c10b3ce73811a0a70 /src/buffer.c | |
| parent | d6f30e5632b1c9cf43ebfbdbf164d5c54be33475 (diff) | |
| download | emacs-5bddc097385c1d9088748ed92abc2370857b2202.tar.gz emacs-5bddc097385c1d9088748ed92abc2370857b2202.zip | |
* 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.c | 7 |
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. */); | |||
| 6380 | 6380 | ||
| 6381 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); | 6381 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); |
| 6382 | } | 6382 | } |
| 6383 | |||
| 6384 | void | ||
| 6385 | keys_of_buffer (void) | ||
| 6386 | { | ||
| 6387 | initial_define_key (control_x_map, 'b', "switch-to-buffer"); | ||
| 6388 | initial_define_key (control_x_map, 'k', "kill-buffer"); | ||
| 6389 | } | ||