Mercurial > emacs
comparison src/minibuf.c @ 95188:b8f0e53854e1
* minibuf.c (keys_of_minibuf): Delete.
* lisp.h (keys_of_minibuf): Delete.
* emacs.c (main): Don't call keys_of_minibuf.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 22 May 2008 03:18:18 +0000 |
parents | 2f0a4ded2809 |
children | d34a432d5863 |
comparison
equal
deleted
inserted
replaced
95187:ee32b9c9936c | 95188:b8f0e53854e1 |
---|---|
2260 defsubr (&Stest_completion); | 2260 defsubr (&Stest_completion); |
2261 defsubr (&Sassoc_string); | 2261 defsubr (&Sassoc_string); |
2262 defsubr (&Scompleting_read); | 2262 defsubr (&Scompleting_read); |
2263 } | 2263 } |
2264 | 2264 |
2265 void | |
2266 keys_of_minibuf () | |
2267 { | |
2268 initial_define_key (Vminibuffer_local_map, Ctl ('g'), | |
2269 "abort-recursive-edit"); | |
2270 initial_define_key (Vminibuffer_local_map, Ctl ('m'), | |
2271 "exit-minibuffer"); | |
2272 initial_define_key (Vminibuffer_local_map, Ctl ('j'), | |
2273 "exit-minibuffer"); | |
2274 | |
2275 initial_define_key (Vminibuffer_local_ns_map, ' ', | |
2276 "exit-minibuffer"); | |
2277 initial_define_key (Vminibuffer_local_ns_map, '\t', | |
2278 "exit-minibuffer"); | |
2279 initial_define_key (Vminibuffer_local_ns_map, '?', | |
2280 "self-insert-and-exit"); | |
2281 | |
2282 initial_define_key (Vminibuffer_local_completion_map, '\t', | |
2283 "minibuffer-complete"); | |
2284 initial_define_key (Vminibuffer_local_completion_map, ' ', | |
2285 "minibuffer-complete-word"); | |
2286 initial_define_key (Vminibuffer_local_completion_map, '?', | |
2287 "minibuffer-completion-help"); | |
2288 | |
2289 Fdefine_key (Vminibuffer_local_filename_completion_map, | |
2290 build_string (" "), Qnil); | |
2291 | |
2292 initial_define_key (Vminibuffer_local_must_match_map, Ctl ('m'), | |
2293 "minibuffer-complete-and-exit"); | |
2294 initial_define_key (Vminibuffer_local_must_match_map, Ctl ('j'), | |
2295 "minibuffer-complete-and-exit"); | |
2296 | |
2297 Fdefine_key (Vminibuffer_local_must_match_filename_map, | |
2298 build_string (" "), Qnil); | |
2299 } | |
2300 | |
2301 /* arch-tag: 8f69b601-fba3-484c-a6dd-ceaee54a7a73 | 2265 /* arch-tag: 8f69b601-fba3-484c-a6dd-ceaee54a7a73 |
2302 (do not change this comment) */ | 2266 (do not change this comment) */ |