#include <config.h>
#include <stdio.h>
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
#undef NULL
#include "lisp.h"
#include "commands.h"
static Lisp_Object describe_buffer_bindings ();
static void describe_command (), describe_translation ();
static void describe_map ();
-Lisp_Object Fcopy_keymap ();
\f
/* Keymap object support - constructors and predicates. */
/* SUBMAP is a cons that we found as a key binding.
Discard the other things found in a menu key binding. */
- if CONSP (submap)
+ if (CONSP (submap))
{
/* May be an old format menu item */
- if STRINGP (XCONS (submap)->car)
+ if (STRINGP (XCONS (submap)->car))
{
submap = XCONS (submap)->cdr;
/* Also remove a menu help string, if any,
if (SYMBOLP (definition))
{
XSETSTRING (tem1, XSYMBOL (definition)->name);
- insert_string ("`");
insert1 (tem1);
- insert_string ("'\n");
+ insert_string ("\n");
}
else if (STRINGP (definition) || VECTORP (definition))
insert_string ("Keyboard Macro\n");
return apropos_accumulate;
}
\f
+void
syms_of_keymap ()
{
Lisp_Object tem;
defsubr (&Sapropos_internal);
}
+void
keys_of_keymap ()
{
Lisp_Object tem;