diff options
| author | Glenn Morris | 2012-01-09 22:00:28 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-01-09 22:00:28 -0500 |
| commit | 5b43da69cbda7874f223da3063da594a7fb84218 (patch) | |
| tree | b8ae54cf867fb2297f8165e2dbf316286784420a /src/epaths.in | |
| parent | b09a806e0f072bcd5b385fd0be544b5afe5ad3ac (diff) | |
| download | emacs-5b43da69cbda7874f223da3063da594a7fb84218.tar.gz emacs-5b43da69cbda7874f223da3063da594a7fb84218.zip | |
Mainly comment fixes related to PATH_LOADSEARCH etc.
* src/epaths.in (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH, PATH_EXEC)
(PATH_DATA, PATH_DOC): Update the template values to be closer to
their typical values these days.
* Makefile.in, src/epaths.in: Comments.
Diffstat (limited to 'src/epaths.in')
| -rw-r--r-- | src/epaths.in | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/src/epaths.in b/src/epaths.in index 9ce1cefd211..b03a6a0cf03 100644 --- a/src/epaths.in +++ b/src/epaths.in | |||
| @@ -19,27 +19,34 @@ You should have received a copy of the GNU General Public License | |||
| 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | /* The default search path for Lisp function "load". | 22 | /* The default value of load-path, which is the search path for |
| 23 | This sets load-path. */ | 23 | the Lisp function "load". Configure (using "make epaths-force") |
| 24 | #define PATH_LOADSEARCH "/usr/local/lib/emacs/lisp" | 24 | sets this to $lisppath, which typically has a value like: |
| 25 | <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp: | ||
| 26 | <datadir>/emacs/VERSION/lisp:<datadir>/emacs/VERSION/leim | ||
| 27 | where datadir is eg /usr/local/share. | ||
| 28 | Configure prepends any $locallisppath, as set by the | ||
| 29 | --enable-locallisppath argument. | ||
| 30 | */ | ||
| 31 | #define PATH_LOADSEARCH "/usr/local/share/emacs/lisp" | ||
| 25 | 32 | ||
| 26 | /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This | 33 | /* Like PATH_LOADSEARCH, but used only during the build process |
| 27 | path is usually identical to PATH_LOADSEARCH except that the entry | 34 | when Emacs is dumping. Configure (using "make epaths-force") sets |
| 28 | for the directory containing the installed lisp files has been | 35 | this to $buildlisppath, which normally has the value: <srcdir>/lisp. |
| 29 | replaced with ../lisp. */ | 36 | */ |
| 30 | #define PATH_DUMPLOADSEARCH "../lisp" | 37 | #define PATH_DUMPLOADSEARCH "/usr/local/share/emacs/lisp" |
| 31 | 38 | ||
| 32 | /* The extra search path for programs to invoke. This is appended to | 39 | /* The extra search path for programs to invoke. This is appended to |
| 33 | whatever the PATH environment variable says to set the Lisp | 40 | whatever the PATH environment variable says to set the Lisp |
| 34 | variable exec-path and the first file name in it sets the Lisp | 41 | variable exec-path and the first file name in it sets the Lisp |
| 35 | variable exec-directory. exec-directory is used for finding | 42 | variable exec-directory. exec-directory is used for finding |
| 36 | executables and other architecture-dependent files. */ | 43 | executables and other architecture-dependent files. */ |
| 37 | #define PATH_EXEC "/usr/local/lib/emacs/etc" | 44 | #define PATH_EXEC "/usr/local/libexec/emacs" |
| 38 | 45 | ||
| 39 | /* Where Emacs should look for its architecture-independent data | 46 | /* Where Emacs should look for its architecture-independent data |
| 40 | files, like the NEWS file. The lisp variable data-directory | 47 | files, like the NEWS file. The lisp variable data-directory |
| 41 | is set to this value. */ | 48 | is set to this value. */ |
| 42 | #define PATH_DATA "/usr/local/lib/emacs/data" | 49 | #define PATH_DATA "/usr/local/share/emacs/etc" |
| 43 | 50 | ||
| 44 | /* Where Emacs should look for X bitmap files. | 51 | /* Where Emacs should look for X bitmap files. |
| 45 | The lisp variable x-bitmap-file-path is set based on this value. */ | 52 | The lisp variable x-bitmap-file-path is set based on this value. */ |
| @@ -47,7 +54,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 47 | 54 | ||
| 48 | /* Where Emacs should look for its docstring file. The lisp variable | 55 | /* Where Emacs should look for its docstring file. The lisp variable |
| 49 | doc-directory is set to this value. */ | 56 | doc-directory is set to this value. */ |
| 50 | #define PATH_DOC "/usr/local/lib/emacs/data" | 57 | #define PATH_DOC "/usr/local/share/emacs/etc" |
| 51 | 58 | ||
| 52 | /* Where the configuration process believes the info tree lives. The | 59 | /* Where the configuration process believes the info tree lives. The |
| 53 | lisp variable configure-info-directory gets its value from this | 60 | lisp variable configure-info-directory gets its value from this |