diff options
| author | Stefan Monnier | 2008-05-22 03:18:18 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-05-22 03:18:18 +0000 |
| commit | 631248e534884a75e3b7baaf7d1b83897e607ff2 (patch) | |
| tree | a9a108b42769471adbcfe863b13a6d4e82d6f40a /src | |
| parent | 31d4b748c2bba64d922e6b6e7880aa113b00c955 (diff) | |
| download | emacs-631248e534884a75e3b7baaf7d1b83897e607ff2.tar.gz emacs-631248e534884a75e3b7baaf7d1b83897e607ff2.zip | |
* minibuf.c (keys_of_minibuf): Delete.
* lisp.h (keys_of_minibuf): Delete.
* emacs.c (main): Don't call keys_of_minibuf.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 35 | ||||
| -rw-r--r-- | src/emacs.c | 1 | ||||
| -rw-r--r-- | src/lisp.h | 1 | ||||
| -rw-r--r-- | src/minibuf.c | 36 |
4 files changed, 20 insertions, 53 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0a0130c71cb..e5befabeda7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,38 +1,43 @@ | |||
| 1 | 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * minibuf.c (keys_of_minibuf): Delete. | ||
| 4 | * lisp.h (keys_of_minibuf): Delete. | ||
| 5 | * emacs.c (main): Don't call keys_of_minibuf. | ||
| 6 | |||
| 1 | 2008-05-22 Kenichi Handa <handa@m17n.org> | 7 | 2008-05-22 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * ftfont.c (ftfont_resolve_generic_family): Renamed from | 9 | * ftfont.c (ftfont_resolve_generic_family): Rename from |
| 4 | ftfont_list_generic_family. Return a single family for each | 10 | ftfont_list_generic_family. Return a single family for each |
| 5 | generic family. | 11 | generic family. |
| 6 | (ftfont_spec_pattern): Add FC_FAMILY to pattern. | 12 | (ftfont_spec_pattern): Add FC_FAMILY to pattern. |
| 7 | (ftfont_list): Adjusted for the change of | 13 | (ftfont_list): Adjust for the change of |
| 8 | ftfont_resolve_generic_family. Call font_add_log. | 14 | ftfont_resolve_generic_family. Call font_add_log. |
| 9 | (ftfont_match): Call font_add_log. | 15 | (ftfont_match): Call font_add_log. |
| 10 | 16 | ||
| 11 | * font.h (Ffont_xlfd_name): EXFUN adjusted. | 17 | * font.h (Ffont_xlfd_name): EXFUN adjusted. |
| 12 | (FONT_DEBUG): Define it. | 18 | (FONT_DEBUG): Define it. |
| 13 | (font_add_log): Extern it. | 19 | (font_add_log): Extern it. |
| 14 | (font_assert): Renamed from xassert. | 20 | (font_assert): Rename from xassert. |
| 15 | 21 | ||
| 16 | * xfont.c (xfont_get_pcm): Change xassert to font_assert. | 22 | * xfont.c (xfont_get_pcm): Change xassert to font_assert. |
| 17 | (xfont_list_family): Call font_add_log. | 23 | (xfont_list_family): Call font_add_log. |
| 18 | (xfont_match): Likewise. | 24 | (xfont_match): Likewise. |
| 19 | (memq_no_quit): Deleted. | 25 | (memq_no_quit): Delete. |
| 20 | 26 | ||
| 21 | * fontset.c (fontset_from_font, Ffontset_info): Add the 2nd arg in | 27 | * fontset.c (fontset_from_font, Ffontset_info): Add the 2nd arg in |
| 22 | call of Ffont_xlfd_name. | 28 | call of Ffont_xlfd_name. |
| 23 | 29 | ||
| 24 | * xfaces.c (struct table_entry, slant_table, weight_table) | 30 | * xfaces.c (struct table_entry, slant_table, weight_table) |
| 25 | (swidth_table): Moved to font.c. | 31 | (swidth_table): Move to font.c. |
| 26 | 32 | ||
| 27 | * font.c: Checking of FONT_DEBUG is moved to font.h. All calls of | 33 | * font.c: Checking of FONT_DEBUG is moved to font.h. All calls of |
| 28 | xassert are changed to font_assert. Many unused variables | 34 | xassert are changed to font_assert. Delete many unused variables. |
| 29 | deleted. | 35 | (Vfont_weight_table, Vfont_slant_table, Vfont_width_table): |
| 30 | (Vfont_weight_table, Vfont_slant_table, Vfont_width_table): New | 36 | New variables. |
| 31 | variables. | 37 | (struct table_entry): Move from xfaces.c and modified. |
| 32 | (struct table_entry): Moved from xfaces.c and modified. | 38 | (weight_table, slant_table, width_table): Move from xfaces.c and |
| 33 | (weight_table, slant_table, width_table): Moved from xfaces.c and | ||
| 34 | contents adjusted for the change of struct table_entry. | 39 | contents adjusted for the change of struct table_entry. |
| 35 | (font_style_to_value, font_style_symbolic): Adjuted for the format | 40 | (font_style_to_value, font_style_symbolic): Adjut for the format |
| 36 | change of font_style_table. | 41 | change of font_style_table. |
| 37 | (font_parse_family_registry): Don't overwrite existing foundry and | 42 | (font_parse_family_registry): Don't overwrite existing foundry and |
| 38 | family of font_spec. | 43 | family of font_spec. |
| @@ -40,10 +45,10 @@ | |||
| 40 | (font_sort_entites): Call font_add_log. | 45 | (font_sort_entites): Call font_add_log. |
| 41 | (font_delete_unmatched): Return a newly created list. | 46 | (font_delete_unmatched): Return a newly created list. |
| 42 | (font_list_entities): Fix previous change. Call font_add_log. | 47 | (font_list_entities): Fix previous change. Call font_add_log. |
| 43 | (font_matching_entity, font_open_entity, font_close_entity): Call | 48 | (font_matching_entity, font_open_entity, font_close_entity): |
| 44 | font_add_log. | 49 | Call font_add_log. |
| 45 | (Ffont_xlfd_name): New arg FOLD-WILDCARDS. | 50 | (Ffont_xlfd_name): New arg FOLD-WILDCARDS. |
| 46 | (Finternal_set_font_style_table): Deleted. | 51 | (Finternal_set_font_style_table): Delete. |
| 47 | (BUILD_STYLE_TABLE): New macro. | 52 | (BUILD_STYLE_TABLE): New macro. |
| 48 | (build_style_table): New function. | 53 | (build_style_table): New function. |
| 49 | (Vfont_log, font_log_env_checked): New variables. | 54 | (Vfont_log, font_log_env_checked): New variables. |
diff --git a/src/emacs.c b/src/emacs.c index 94e1448c2f0..7873a7eaae4 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1647,7 +1647,6 @@ main (argc, argv | |||
| 1647 | keys_of_buffer (); | 1647 | keys_of_buffer (); |
| 1648 | keys_of_keyboard (); | 1648 | keys_of_keyboard (); |
| 1649 | keys_of_keymap (); | 1649 | keys_of_keymap (); |
| 1650 | keys_of_minibuf (); | ||
| 1651 | keys_of_window (); | 1650 | keys_of_window (); |
| 1652 | } | 1651 | } |
| 1653 | else | 1652 | else |
diff --git a/src/lisp.h b/src/lisp.h index 5fcbd23df88..288d9642b87 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2978,7 +2978,6 @@ extern Lisp_Object get_minibuffer P_ ((int)); | |||
| 2978 | extern void temp_echo_area_glyphs P_ ((Lisp_Object)); | 2978 | extern void temp_echo_area_glyphs P_ ((Lisp_Object)); |
| 2979 | extern void init_minibuf_once P_ ((void)); | 2979 | extern void init_minibuf_once P_ ((void)); |
| 2980 | extern void syms_of_minibuf P_ ((void)); | 2980 | extern void syms_of_minibuf P_ ((void)); |
| 2981 | extern void keys_of_minibuf P_ ((void)); | ||
| 2982 | 2981 | ||
| 2983 | /* Defined in callint.c */ | 2982 | /* Defined in callint.c */ |
| 2984 | 2983 | ||
diff --git a/src/minibuf.c b/src/minibuf.c index f6bd9dd8ead..1c1bf0356e1 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -2262,41 +2262,5 @@ properties. */); | |||
| 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) */ |