annotate nt/paths.h @ 20279:69a6030e443a

(kill-region): Detect read-only text by getting an error trying to delete it. Handle the cases where we can, and can't, get the killed text from the undo list with much the same code.
author Karl Heuer <kwzh@gnu.org>
date Wed, 19 Nov 1997 21:36:56 +0000
parents 1877e9736ea1
children 1529065f6eb6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
1 /* Hey Emacs, this is -*- C -*- code! */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
2
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
3 /* Backslashify the default paths for NT */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
4
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
5 /* The default search path for Lisp function "load".
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
6 This sets load-path. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
7 /* #define PATH_LOADSEARCH "/usr/local/lib/emacs/lisp" */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
8 #define PATH_LOADSEARCH "C:\\emacs\\lisp"
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
9
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
10 /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
11 path is usually identical to PATH_LOADSEARCH except that the entry
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
12 for the directory containing the installed lisp files has been
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
13 replaced with ../lisp. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
14 /* #define PATH_DUMPLOADSEARCH "../lisp" */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
15 #define PATH_DUMPLOADSEARCH "..\\..\\..\\lisp"
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
16
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
17 /* The extra search path for programs to invoke. This is appended to
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
18 whatever the PATH environment variable says to set the Lisp
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
19 variable exec-path and the first file name in it sets the Lisp
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
20 variable exec-directory. exec-directory is used for finding
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
21 executables and other architecture-dependent files. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
22 /* #define PATH_EXEC "/usr/local/lib/emacs/etc" */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
23 #define PATH_EXEC "C:\\emacs\\bin"
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
24
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
25 /* Where Emacs should look for its architecture-independent data
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
26 files, like the NEWS file. The lisp variable data-directory
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
27 is set to this value. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
28 /* #define PATH_DATA "/usr/local/lib/emacs/data" */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
29 #define PATH_DATA "C:\\emacs\\data"
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
30
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
31 /* Where Emacs should look for its docstring file. The lisp variable
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
32 doc-directory is set to this value. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
33 #define PATH_DOC "C:\\emacs\\etc"
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
34
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
35 /* The name of the directory that contains lock files with which we
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
36 record what files are being modified in Emacs. This directory
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
37 should be writable by everyone. THE STRING MUST END WITH A
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
38 SLASH!!! */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
39 /* #define PATH_LOCK "/usr/local/lib/emacs/lock/" */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
40 #define PATH_LOCK "C:\\emacs\\lock\\"
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
41
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
42 /* Where the configuration process believes the info tree lives. The
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
43 lisp variable configure-info-directory gets its value from this
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
44 macro, and is then used to set the Info-default-directory-list. */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
45 /* #define PATH_INFO "/usr/local/info" */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
46 #define PATH_INFO "C:\\emacs\\info"