aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc.c b/src/doc.c
index d27fa3f792d..3832eb3708d 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -347,6 +347,8 @@ string is passed through `substitute-command-keys'. */)
347 { 347 {
348 if (XSUBR (fun)->doc == 0) 348 if (XSUBR (fun)->doc == 0)
349 return Qnil; 349 return Qnil;
350 /* FIXME: This is not portable, as it assumes that string
351 pointers have the top bit clear. */
350 else if ((EMACS_INT) XSUBR (fun)->doc >= 0) 352 else if ((EMACS_INT) XSUBR (fun)->doc >= 0)
351 doc = build_string (XSUBR (fun)->doc); 353 doc = build_string (XSUBR (fun)->doc);
352 else 354 else