aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorStefan Kangas2025-01-14 00:16:40 +0100
committerStefan Kangas2025-01-14 00:16:40 +0100
commit383de5c3f6f1ca7c8da7450d6e1716b43e9d2020 (patch)
tree0ec1c0c1bf4f29387d6361bdc6f0073378344d7d /src/keymap.c
parentf0e63558bd3dfd9e57cacfba8690f9dd29774947 (diff)
downloademacs-383de5c3f6f1ca7c8da7450d6e1716b43e9d2020.tar.gz
emacs-383de5c3f6f1ca7c8da7450d6e1716b43e9d2020.zip
Prefer calln to CALLN where applicable
* src/callint.c (read_file_name): * src/comp.c (CALL0I, CALL1I, CALL2I, CALL4I, declare_imported_func): * src/data.c (Ffset, notify_variable_watchers): * src/eval.c (Ffuncall_with_delayed_message): * src/keymap.c (Fdescribe_buffer_bindings): * src/minibuf.c (Fread_buffer, Fcompleting_read): * src/pdumper.c (Fdump_emacs_portable): * src/print.c (print_vectorlike_unreadable): * src/treesit.c (treesit_traverse_match_predicate) (treesit_build_sparse_tree): Prefer calln to CALLN.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c30
1 files changed, 10 insertions, 20 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 5c0ddcd1d9d..9ff0b52df72 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2894,8 +2894,7 @@ You type Translation\n\
2894 if (!NILP (Vkey_translation_map)) 2894 if (!NILP (Vkey_translation_map))
2895 { 2895 {
2896 Lisp_Object msg = build_unibyte_string ("Key translations"); 2896 Lisp_Object msg = build_unibyte_string ("Key translations");
2897 CALLN (Ffuncall, 2897 calln (Qhelp__describe_map_tree,
2898 Qhelp__describe_map_tree,
2899 Vkey_translation_map, Qnil, Qnil, prefix, 2898 Vkey_translation_map, Qnil, Qnil, prefix,
2900 msg, nomenu, Qt, Qnil, Qnil, buffer); 2899 msg, nomenu, Qt, Qnil, Qnil, buffer);
2901 } 2900 }
@@ -2908,8 +2907,7 @@ You type Translation\n\
2908 if (!NILP (start1)) 2907 if (!NILP (start1))
2909 { 2908 {
2910 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings"); 2909 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings");
2911 CALLN (Ffuncall, 2910 calln (Qhelp__describe_map_tree,
2912 Qhelp__describe_map_tree,
2913 start1, Qt, shadow, prefix, 2911 start1, Qt, shadow, prefix,
2914 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2912 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2915 shadow = Fcons (start1, shadow); 2913 shadow = Fcons (start1, shadow);
@@ -2921,8 +2919,7 @@ You type Translation\n\
2921 if (!NILP (start1)) 2919 if (!NILP (start1))
2922 { 2920 {
2923 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings"); 2921 Lisp_Object msg = build_unibyte_string ("\f\nOverriding Bindings");
2924 CALLN (Ffuncall, 2922 calln (Qhelp__describe_map_tree,
2925 Qhelp__describe_map_tree,
2926 start1, Qt, shadow, prefix, 2923 start1, Qt, shadow, prefix,
2927 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2924 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2928 shadow = Fcons (start1, shadow); 2925 shadow = Fcons (start1, shadow);
@@ -2944,8 +2941,7 @@ You type Translation\n\
2944 if (!NILP (start1)) 2941 if (!NILP (start1))
2945 { 2942 {
2946 Lisp_Object msg = build_unibyte_string ("\f\n`keymap' Property Bindings"); 2943 Lisp_Object msg = build_unibyte_string ("\f\n`keymap' Property Bindings");
2947 CALLN (Ffuncall, 2944 calln (Qhelp__describe_map_tree,
2948 Qhelp__describe_map_tree,
2949 start1, Qt, shadow, prefix, 2945 start1, Qt, shadow, prefix,
2950 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2946 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2951 shadow = Fcons (start1, shadow); 2947 shadow = Fcons (start1, shadow);
@@ -2977,8 +2973,7 @@ You type Translation\n\
2977 *p = 0; 2973 *p = 0;
2978 2974
2979 Lisp_Object msg = build_unibyte_string (title); 2975 Lisp_Object msg = build_unibyte_string (title);
2980 CALLN (Ffuncall, 2976 calln (Qhelp__describe_map_tree,
2981 Qhelp__describe_map_tree,
2982 maps[i], Qt, shadow, prefix, 2977 maps[i], Qt, shadow, prefix,
2983 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2978 msg, nomenu, Qnil, Qnil, Qnil, buffer);
2984 shadow = Fcons (maps[i], shadow); 2979 shadow = Fcons (maps[i], shadow);
@@ -2995,16 +2990,14 @@ You type Translation\n\
2995 CALLN (Fformat, 2990 CALLN (Fformat,
2996 build_unibyte_string ("\f\n`%s' Major Mode Bindings"), 2991 build_unibyte_string ("\f\n`%s' Major Mode Bindings"),
2997 XBUFFER (buffer)->major_mode_); 2992 XBUFFER (buffer)->major_mode_);
2998 CALLN (Ffuncall, 2993 calln (Qhelp__describe_map_tree,
2999 Qhelp__describe_map_tree,
3000 start1, Qt, shadow, prefix, 2994 start1, Qt, shadow, prefix,
3001 msg, nomenu, Qnil, Qnil, Qnil, buffer); 2995 msg, nomenu, Qnil, Qnil, Qnil, buffer);
3002 } 2996 }
3003 else 2997 else
3004 { 2998 {
3005 Lisp_Object msg = build_unibyte_string ("\f\n`local-map' Property Bindings"); 2999 Lisp_Object msg = build_unibyte_string ("\f\n`local-map' Property Bindings");
3006 CALLN (Ffuncall, 3000 calln (Qhelp__describe_map_tree,
3007 Qhelp__describe_map_tree,
3008 start1, Qt, shadow, prefix, 3001 start1, Qt, shadow, prefix,
3009 msg, nomenu, Qnil, Qnil, Qnil, buffer); 3002 msg, nomenu, Qnil, Qnil, Qnil, buffer);
3010 } 3003 }
@@ -3014,8 +3007,7 @@ You type Translation\n\
3014 } 3007 }
3015 3008
3016 Lisp_Object msg = build_unibyte_string ("\f\nGlobal Bindings"); 3009 Lisp_Object msg = build_unibyte_string ("\f\nGlobal Bindings");
3017 CALLN (Ffuncall, 3010 calln (Qhelp__describe_map_tree,
3018 Qhelp__describe_map_tree,
3019 current_global_map, Qt, shadow, prefix, 3011 current_global_map, Qt, shadow, prefix,
3020 msg, nomenu, Qnil, Qt, Qnil, buffer); 3012 msg, nomenu, Qnil, Qt, Qnil, buffer);
3021 3013
@@ -3023,8 +3015,7 @@ You type Translation\n\
3023 if (!NILP (KVAR (current_kboard, Vlocal_function_key_map))) 3015 if (!NILP (KVAR (current_kboard, Vlocal_function_key_map)))
3024 { 3016 {
3025 Lisp_Object msg = build_unibyte_string ("\f\nFunction key map translations"); 3017 Lisp_Object msg = build_unibyte_string ("\f\nFunction key map translations");
3026 CALLN (Ffuncall, 3018 calln (Qhelp__describe_map_tree,
3027 Qhelp__describe_map_tree,
3028 KVAR (current_kboard, Vlocal_function_key_map), Qnil, Qnil, prefix, 3019 KVAR (current_kboard, Vlocal_function_key_map), Qnil, Qnil, prefix,
3029 msg, nomenu, Qt, Qnil, Qnil, buffer); 3020 msg, nomenu, Qt, Qnil, Qnil, buffer);
3030 } 3021 }
@@ -3033,8 +3024,7 @@ You type Translation\n\
3033 if (!NILP (KVAR (current_kboard, Vinput_decode_map))) 3024 if (!NILP (KVAR (current_kboard, Vinput_decode_map)))
3034 { 3025 {
3035 Lisp_Object msg = build_unibyte_string ("\f\nInput decoding map translations"); 3026 Lisp_Object msg = build_unibyte_string ("\f\nInput decoding map translations");
3036 CALLN (Ffuncall, 3027 calln (Qhelp__describe_map_tree,
3037 Qhelp__describe_map_tree,
3038 KVAR (current_kboard, Vinput_decode_map), Qnil, Qnil, prefix, 3028 KVAR (current_kboard, Vinput_decode_map), Qnil, Qnil, prefix,
3039 msg, nomenu, Qt, Qnil, Qnil, buffer); 3029 msg, nomenu, Qt, Qnil, Qnil, buffer);
3040 } 3030 }