summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-08-23 17:20:09 +0200
committerStefan Kangas <stefan@marxist.se>2020-10-18 17:25:23 +0200
commit5ad2bb0fa95d9c9ae2387c963b453f695577450a (patch)
treea2c6d368a514288ecad2f2ef7c038a0ccf33adbe /src/keymap.c
parent647b1c5142d7a029a3124e0177112f16f84d3794 (diff)
downloademacs-5ad2bb0fa95d9c9ae2387c963b453f695577450a.tar.gz
Translate describe_vector to Lisp
* lisp/help.el (help--describe-vector): New Lisp implementation of describe_vector. * src/keymap.c (Fdescribe_vector_internal): Remove defun. (syms_of_keymap): Remove defsubr for Fdescribe_vector_internal.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 2076e29b6fb..9d12c3a47d5 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -3328,28 +3328,6 @@ DESCRIBER is the output function used; nil means use `princ'. */)
return unbind_to (count, Qnil);
}
-DEFUN ("describe-vector-internal", Fdescribe_vector_internal, Sdescribe_vector_internal, 8, 8, 0,
- doc: /* Insert a description of contents of VECTOR. */)
- (Lisp_Object vector, Lisp_Object prefix, Lisp_Object transl,
- Lisp_Object partial, Lisp_Object shadow, Lisp_Object entire_map,
- Lisp_Object keymap_p, Lisp_Object mention_shadow)
-{
- ptrdiff_t count = SPECPDL_INDEX ();
- specbind (Qstandard_output, Fcurrent_buffer ());
- CHECK_VECTOR_OR_CHAR_TABLE (vector);
-
- bool b_transl = NILP (transl) ? false : true;
- bool b_partial = NILP (partial) ? false : true;
- bool b_keymap_p = NILP (keymap_p) ? false : true;
- bool b_mention_shadow = NILP (mention_shadow) ? false : true;
-
- describe_vector (vector, prefix, Qnil,
- b_transl ? describe_translation : describe_command,
- b_partial, shadow, entire_map,
- b_keymap_p, b_mention_shadow);
- return unbind_to (count, Qnil);
-}
-
/* Insert in the current buffer a description of the contents of VECTOR.
We call ELT_DESCRIBER to insert the description of one value found
in VECTOR.
@@ -3749,7 +3727,6 @@ be preferred. */);
defsubr (&Skey_description);
defsubr (&Skeymap__get_keyelt);
defsubr (&Sdescribe_vector);
- defsubr (&Sdescribe_vector_internal);
defsubr (&Ssingle_key_description);
defsubr (&Stext_char_description);
defsubr (&Swhere_is_internal);