Get rid of funvec.
[bpt/emacs.git] / src / doc.c
index c56f0b6..de20edb 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -357,11 +357,6 @@ string is passed through `substitute-command-keys'.  */)
       else
        return Qnil;
     }
-  else if (FUNVECP (fun))
-    {
-      /* Unless otherwise handled, funvecs have no documentation.  */
-      return Qnil;
-    }
   else if (STRINGP (fun) || VECTORP (fun))
     {
       return build_string ("Keyboard macro.");
@@ -729,7 +724,7 @@ a new string, without any text properties, is returned.  */)
      or a specified local map (which means search just that and the
      global map).  If non-nil, it might come from Voverriding_local_map,
      or from a \\<mapname> construct in STRING itself..  */
-  keymap = current_kboard->Voverriding_terminal_local_map;
+  keymap = KVAR (current_kboard, Voverriding_terminal_local_map);
   if (NILP (keymap))
     keymap = Voverriding_local_map;