summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-27 12:05:21 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-27 12:05:21 -0700
commit8f41de3a66a32996d77512569eae74c926a81c84 (patch)
tree2eac6e4c38b94196401e7aa67768ed31b17941bb
parente810457d006d336b26335fae512d15a1c445b9cd (diff)
downloademacs-8f41de3a66a32996d77512569eae74c926a81c84.tar.gz
Add FIXME comment.
-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'. */)
{
if (XSUBR (fun)->doc == 0)
return Qnil;
+ /* FIXME: This is not portable, as it assumes that string
+ pointers have the top bit clear. */
else if ((EMACS_INT) XSUBR (fun)->doc >= 0)
doc = build_string (XSUBR (fun)->doc);
else