summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mnt.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-06-14 12:19:36 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-06-14 12:21:00 -0700
commitc5461d03a411ff5c6f43885a0a9030e8a94bbc2e (patch)
tree3670c5dd1941dde89b1ac4b6e765ec084fa1a546 /lisp/emacs-lisp/lisp-mnt.el
parent7f35d5cbaf055dddcf0489a6f6a46df7ddaeeaf4 (diff)
downloademacs-c5461d03a411ff5c6f43885a0a9030e8a94bbc2e.tar.gz
emacs-c5461d03a411ff5c6f43885a0a9030e8a94bbc2e.tar.bz2
emacs-c5461d03a411ff5c6f43885a0a9030e8a94bbc2e.zip
Port to platforms where char * has top bit set
This fixes a five-year-old FIXME comment. Although I don’t know of a platform where this is a problem in practice, better safe than sorry. * src/doc.c (Fdocumentation): If SUBRP, simply use doc as integer, as it is now an integer, not char *. (store_function_docstring): Offset is now EMACS_INT, not ptrdiff_t; this is a file offset and EMACS_INT is better if --with-wide-int. If SUBRP, simply store the offset rather than negating it and converting it to char *. * src/lisp.h (struct Lisp_Subr.doc): Now EMACS_INT, not char *.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions