diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-14 12:19:36 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-14 12:21:00 -0700 |
commit | c5461d03a411ff5c6f43885a0a9030e8a94bbc2e (patch) | |
tree | 3670c5dd1941dde89b1ac4b6e765ec084fa1a546 /lisp/emacs-lisp/lisp-mnt.el | |
parent | 7f35d5cbaf055dddcf0489a6f6a46df7ddaeeaf4 (diff) | |
download | emacs-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