Mercurial > hg > xemacs-beta
annotate src/s/sco7.h @ 5206:39d74978fd32
Keep around file info for dumped functions and variables without docstrings.
src/ChangeLog addition:
2010-04-17 Aidan Kehoe <kehoea@parhasard.net>
* doc.c (Fdocumentation):
If we have a zero length doc string in DOC, as may happen for
undocumented compiled function objects which nonetheless have file
information stored, return nil.
(Fsnarf_documentation):
DOC info existing for compiled functions without docstrings is
perfectly legitimate, now the file is also used to store file names.
* bytecode.c (set_compiled_function_documentation):
Allow this function to set the documentation successfully for
compiled function objects that don't currently have documentation;
most relevant for functions without docstrings which have file
information stored in DOC.
lib-src/ChangeLog addition:
2010-04-17 Aidan Kehoe <kehoea@parhasard.net>
* make-docfile.c (scan_lisp_file):
Even if a function doesn't have a doc string, store its file name
in DOC.
lisp/ChangeLog addition:
2010-04-17 Aidan Kehoe <kehoea@parhasard.net>
* loadup.el (load-history): Be a bit more discriminate in the
entries we remove from load-history, only removing those where the
information is entirely available from DOC.
Fixes problems finding the files that dumped undocumented
variables were loaded from, reported by Didier Verna.
* loadhist.el (symbol-file): Correct a regexp here, I had
forgotten to double a backslash.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 17 Apr 2010 10:40:03 +0100 |
parents | 3ee2bdf020bc |
children | ba07c880114a |
rev | line source |
---|---|
4987
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
1 /* Definitions file for XEmacs running on SCO System V release 4.2 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
2 Copyright (C) 1999 Ron Record |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
3 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
4 This file is part of XEmacs. |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
5 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
6 XEmacs is free software; you can redistribute it and/or modify it |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
8 Free Software Foundation; either version 2, or (at your option) any |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
9 later version. |
398 | 10 |
4987
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
14 for more details. |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
15 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
17 along with XEmacs; see the file COPYING. If not, write to |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
18 the Free Software Foundation, Inc., 51 Franklin St. - Fifth Floor, |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
19 Boston, MA 02110-1301, USA. */ |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
20 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
21 /* Synched up with: FSF 19.31. */ |
398 | 22 |
23 #include "usg5-4.h" | |
24 | |
25 /* Motif needs -lgen. */ | |
26 #undef LIBS_SYSTEM | |
27 #define LIBS_SYSTEM "-lsocket -lnsl -lelf -lgen" | |
28 | |
29 #define VFORK_RETURN_TYPE pid_t | |
30 | |
31 /* XEmacs change: communicate to m/intel386.h */ | |
32 #define USG5_4_2 |