annotate src/vmspaths.h @ 22321:2b81c3b8f0c8

Remember the last TWO strings skipped with #@. (prev_saved_doc_string*): New variables. (Fload): Initalize prev_saved_doc_string. (read1): Copy saved_doc_string to prev_saved_doc_string before storing a new string in saved_doc_string. (read_list): Look in prev_saved_doc_string as well as in saved_doc_string. (read1): Swap saved_doc_string_length and prev_saved_doc_string_length. (read_list): Negate docstring position if negative before checking against saved_doc_string_length et al. (read_vector): Add bytecodeflag parameter, which is nonzero when reading a bytecode object. If `load-force-doc-strings' is t when reading a lazily-loaded bytecode vector, the loaded docstring must be treated as unibyte and passed to Fread to obtain the actual bytecode string and constants vector. (read1): Add extra parameter to read_vector calls. (read1): Enable saving of doc strings on WINDOWSNT. (read_list): Call get_doc_string instead of read_doc_string, when forced to load doc strings.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Jun 1998 21:03:23 +0000
parents 87934d212841
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1599
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
1 /* Hey Emacs, this is -*- C -*- code! */
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
2
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
3 /* The default search path for Lisp function "load".
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
4 This sets load-path. */
2264
87934d212841 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
Jim Blandy <jimb@redhat.com>
parents: 1599
diff changeset
5 #define PATH_LOADSEARCH "EMACS_LIBRARY:[LOCAL-LISP],EMACS_LIBRARY:[LISP]"
484
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6
1599
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
7 /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
8 path is usually identical to PATH_LOADSEARCH except that the entry
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
9 for the directory containing the installed lisp files has been
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
10 replaced with ../lisp. */
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
11 #define PATH_DUMPLOADSEARCH "[-.LISP]"
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
12
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
13 /* The extra search path for programs to invoke. This is appended to
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
14 whatever the PATH environment variable says to set the Lisp
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
15 variable exec-path and the first file name in it sets the Lisp
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
16 variable exec-directory. exec-directory is used for finding
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
17 executables and other architecture-dependent files. */
2264
87934d212841 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
Jim Blandy <jimb@redhat.com>
parents: 1599
diff changeset
18 #define PATH_EXEC "EMACS_LIBRARY:[LIB-SRC]"
484
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
1599
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
20 /* Where Emacs should look for its architecture-independent data
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
21 files, like the docstring file. The lisp variable data-directory
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
22 is set to this value. */
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
23 #define PATH_DATA "EMACS_LIBRARY:[ETC]"
6f61e80e319b * vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents: 484
diff changeset
24
484
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* the name of the directory that contains lock files
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 with which we record what files are being modified in Emacs.
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 This directory should be writable by everyone. */
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #define PATH_LOCK "EMACS_LIBRARY:[LOCK]"
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 /* the name of the file !!!SuperLock!!! in the directory
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 specified by PATH_LOCK. Yes, this is redundant. */
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define PATH_SUPERLOCK "EMACS_LIBRARY:[LOCK]$$$SUPERLOCK$$$."