aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index 1b6aa01ef04..8191a914c6e 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -337,7 +337,10 @@ string is passed through `substitute-command-keys'. */)
337 fun = XCDR (fun); 337 fun = XCDR (fun);
338#ifdef HAVE_NATIVE_COMP 338#ifdef HAVE_NATIVE_COMP
339 if (!NILP (Fsubr_native_elisp_p (fun))) 339 if (!NILP (Fsubr_native_elisp_p (fun)))
340 doc = XSUBR (fun)->native_doc; 340 doc =
341 Fgethash (make_fixnum (XSUBR (fun)->doc),
342 XNATIVE_COMP_UNIT (Fsubr_native_comp_unit (fun))->data_fdoc_h,
343 Qnil);
341 else 344 else
342#endif 345#endif
343 if (SUBRP (fun)) 346 if (SUBRP (fun))