aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorStefan Kangas2023-09-17 22:56:00 +0200
committerStefan Kangas2023-09-17 22:56:00 +0200
commitf3a50f6dd84aa4644a167c7b7a2dcde5144e2e5f (patch)
treec57e843678eb82c76369c697ee3a26cb4fb0f4cb /src/keymap.c
parentae983e92838d47f2a42662270b6b23e37eb330a2 (diff)
downloademacs-f3a50f6dd84aa4644a167c7b7a2dcde5144e2e5f.tar.gz
emacs-f3a50f6dd84aa4644a167c7b7a2dcde5144e2e5f.zip
Rename describe-map-tree to help--describe-map-tree
This function should have been made internal in the first place. * lisp/help.el (help--describe-map-tree): Rename from 'describe-map-tree'. Keep old name as an obsolete alias, and update all callers.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 1f863885003..d710bae02e0 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2885,7 +2885,7 @@ You type Translation\n\
2885 { 2885 {
2886 Lisp_Object msg = build_unibyte_string ("Key translations"); 2886 Lisp_Object msg = build_unibyte_string ("Key translations");
2887 CALLN (Ffuncall, 2887 CALLN (Ffuncall,
2888 Qdescribe_map_tree, 2888 Qhelp__describe_map_tree,
2889 Vkey_translation_map, Qnil, Qnil, prefix, 2889 Vkey_translation_map, Qnil, Qnil, prefix,
2890 msg, nomenu, Qt, Qnil, Qnil, buffer); 2890 msg, nomenu, Qt, Qnil, Qnil, buffer);
2891 } 2891 }
@@ -2899,7 +2899,7 @@ You type Translation\n\
2899 { 2899 {
2900 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings"); 2900 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings");
2901 CALLN (Ffuncall, 2901 CALLN (Ffuncall,
2902 Qdescribe_map_tree, 2902 Qhelp__describe_map_tree,
2903 start1, Qt, shadow, prefix, 2903 start1, Qt, shadow, prefix,
2904 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2904 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2905 shadow = Fcons (start1, shadow); 2905 shadow = Fcons (start1, shadow);
@@ -2912,7 +2912,7 @@ You type Translation\n\
2912 { 2912 {
2913 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings"); 2913 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings");
2914 CALLN (Ffuncall, 2914 CALLN (Ffuncall,
2915 Qdescribe_map_tree, 2915 Qhelp__describe_map_tree,
2916 start1, Qt, shadow, prefix, 2916 start1, Qt, shadow, prefix,
2917 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2917 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2918 shadow = Fcons (start1, shadow); 2918 shadow = Fcons (start1, shadow);
@@ -2935,7 +2935,7 @@ You type Translation\n\
2935 { 2935 {
2936 Lisp_Object msg = build_unibyte_string ("\f\n`keymap' Property Bindings"); 2936 Lisp_Object msg = build_unibyte_string ("\f\n`keymap' Property Bindings");
2937 CALLN (Ffuncall, 2937 CALLN (Ffuncall,
2938 Qdescribe_map_tree, 2938 Qhelp__describe_map_tree,
2939 start1, Qt, shadow, prefix, 2939 start1, Qt, shadow, prefix,
2940 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2940 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2941 shadow = Fcons (start1, shadow); 2941 shadow = Fcons (start1, shadow);
@@ -2946,7 +2946,7 @@ You type Translation\n\
2946 { 2946 {
2947 /* The title for a minor mode keymap 2947 /* The title for a minor mode keymap
2948 is constructed at run time. 2948 is constructed at run time.
2949 We let describe-map-tree do the actual insertion 2949 We let `help--describe-map-tree' do the actual insertion
2950 because it takes care of other features when doing so. */ 2950 because it takes care of other features when doing so. */
2951 char *title, *p; 2951 char *title, *p;
2952 2952
@@ -2968,7 +2968,7 @@ You type Translation\n\
2968 2968
2969 Lisp_Object msg = build_unibyte_string (title); 2969 Lisp_Object msg = build_unibyte_string (title);
2970 CALLN (Ffuncall, 2970 CALLN (Ffuncall,
2971 Qdescribe_map_tree, 2971 Qhelp__describe_map_tree,
2972 maps[i], Qt, shadow, prefix, 2972 maps[i], Qt, shadow, prefix,
2973 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2973 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2974 shadow = Fcons (maps[i], shadow); 2974 shadow = Fcons (maps[i], shadow);
@@ -2986,7 +2986,7 @@ You type Translation\n\
2986 build_unibyte_string ("\f\n`%s' Major Mode Bindings"), 2986 build_unibyte_string ("\f\n`%s' Major Mode Bindings"),
2987 XBUFFER (buffer)->major_mode_); 2987 XBUFFER (buffer)->major_mode_);
2988 CALLN (Ffuncall, 2988 CALLN (Ffuncall,
2989 Qdescribe_map_tree, 2989 Qhelp__describe_map_tree,
2990 start1, Qt, shadow, prefix, 2990 start1, Qt, shadow, prefix,
2991 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2991 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2992 } 2992 }
@@ -2994,7 +2994,7 @@ You type Translation\n\
2994 { 2994 {
2995 Lisp_Object msg = build_unibyte_string ("\f\n`local-map' Property Bindings"); 2995 Lisp_Object msg = build_unibyte_string ("\f\n`local-map' Property Bindings");
2996 CALLN (Ffuncall, 2996 CALLN (Ffuncall,
2997 Qdescribe_map_tree, 2997 Qhelp__describe_map_tree,
2998 start1, Qt, shadow, prefix, 2998 start1, Qt, shadow, prefix,
2999 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2999 msg, nomenu, Qnil, Qnil, Qnil, buffer);
3000 } 3000 }
@@ -3005,7 +3005,7 @@ You type Translation\n\
3005 3005
3006 Lisp_Object msg = build_unibyte_string ("\f\nGlobal Bindings"); 3006 Lisp_Object msg = build_unibyte_string ("\f\nGlobal Bindings");
3007 CALLN (Ffuncall, 3007 CALLN (Ffuncall,
3008 Qdescribe_map_tree, 3008 Qhelp__describe_map_tree,
3009 current_global_map, Qt, shadow, prefix, 3009 current_global_map, Qt, shadow, prefix,
3010 msg, nomenu, Qnil, Qt, Qnil, buffer); 3010 msg, nomenu, Qnil, Qt, Qnil, buffer);
3011 3011
@@ -3014,7 +3014,7 @@ You type Translation\n\
3014 { 3014 {
3015 Lisp_Object msg = build_unibyte_string ("\f\nFunction key map translations"); 3015 Lisp_Object msg = build_unibyte_string ("\f\nFunction key map translations");
3016 CALLN (Ffuncall, 3016 CALLN (Ffuncall,
3017 Qdescribe_map_tree, 3017 Qhelp__describe_map_tree,
3018 KVAR (current_kboard, Vlocal_function_key_map), Qnil, Qnil, prefix, 3018 KVAR (current_kboard, Vlocal_function_key_map), Qnil, Qnil, prefix,
3019 msg, nomenu, Qt, Qnil, Qnil, buffer); 3019 msg, nomenu, Qt, Qnil, Qnil, buffer);
3020 } 3020 }
@@ -3024,7 +3024,7 @@ You type Translation\n\
3024 { 3024 {
3025 Lisp_Object msg = build_unibyte_string ("\f\nInput decoding map translations"); 3025 Lisp_Object msg = build_unibyte_string ("\f\nInput decoding map translations");
3026 CALLN (Ffuncall, 3026 CALLN (Ffuncall,
3027 Qdescribe_map_tree, 3027 Qhelp__describe_map_tree,
3028 KVAR (current_kboard, Vinput_decode_map), Qnil, Qnil, prefix, 3028 KVAR (current_kboard, Vinput_decode_map), Qnil, Qnil, prefix,
3029 msg, nomenu, Qt, Qnil, Qnil, buffer); 3029 msg, nomenu, Qt, Qnil, Qnil, buffer);
3030 } 3030 }
@@ -3341,7 +3341,7 @@ void
3341syms_of_keymap (void) 3341syms_of_keymap (void)
3342{ 3342{
3343 DEFSYM (Qkeymap, "keymap"); 3343 DEFSYM (Qkeymap, "keymap");
3344 DEFSYM (Qdescribe_map_tree, "describe-map-tree"); 3344 DEFSYM (Qhelp__describe_map_tree, "help--describe-map-tree");
3345 3345
3346 DEFSYM (Qkeymap_canonicalize, "keymap-canonicalize"); 3346 DEFSYM (Qkeymap_canonicalize, "keymap-canonicalize");
3347 3347