X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/b17f53abc28496125965f36147b76ea5f6a2b4fb..3b780338b9e8c0164763eac1fbd1727428c2a8e5:/src/doc.c diff --git a/src/doc.c b/src/doc.c index ec02449035..c307119eaf 100644 --- a/src/doc.c +++ b/src/doc.c @@ -1,13 +1,14 @@ /* Record indices of function doc strings stored in a file. Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + 2002, 2003, 2004, 2005, 2006, 2007, 2008 + Free Software Foundation, Inc. This file is part of GNU Emacs. -GNU Emacs is free software; you can redistribute it and/or modify +GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,9 +16,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ +along with GNU Emacs. If not, see . */ #include @@ -41,7 +40,7 @@ Boston, MA 02110-1301, USA. */ #include "lisp.h" #include "buffer.h" #include "keyboard.h" -#include "charset.h" +#include "character.h" #include "keymap.h" #ifdef HAVE_INDEX @@ -573,7 +572,7 @@ store_function_docstring (fun, offset) /* This bytecode object must have a slot for the docstring, since we've found a docstring for it. */ if ((ASIZE (fun) & PSEUDOVECTOR_SIZE_MASK) > COMPILED_DOC_STRING) - XSETFASTINT (AREF (fun, COMPILED_DOC_STRING), offset); + ASET (fun, COMPILED_DOC_STRING, make_number (offset)); } }