diff options
| author | Steven Tamm | 2004-04-25 21:07:58 +0000 |
|---|---|---|
| committer | Steven Tamm | 2004-04-25 21:07:58 +0000 |
| commit | f3d5f92d98cb97a735ae9725a7db8479b5d81d85 (patch) | |
| tree | 9b80da2af77591d3c2481616f6a77c090148b8f5 /src | |
| parent | fbcb95296686cf4af6755508085170f569a9eff6 (diff) | |
| download | emacs-f3d5f92d98cb97a735ae9725a7db8479b5d81d85.tar.gz emacs-f3d5f92d98cb97a735ae9725a7db8479b5d81d85.zip | |
lread.c (init_lread): Don't display missing lisp directory
warnings with Carbon Emacs because self-contained bundled Emacs
may be build without correct installation path.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lread.c | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 56093ed72d3..b0c68409234 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-04-26 Steven Tamm <steventamm@mac.com> | ||
| 2 | * lread.c (init_lread): Don't display missing lisp directory | ||
| 3 | warnings with Carbon Emacs because self-contained bundled Emacs | ||
| 4 | may be build without correct installation path. | ||
| 5 | |||
| 1 | 2004-04-25 Kim F. Storm <storm@cua.dk> | 6 | 2004-04-25 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. | 8 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. |
diff --git a/src/lread.c b/src/lread.c index 4aa49c59eef..66ac69912b7 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -3676,11 +3676,15 @@ init_lread () | |||
| 3676 | } | 3676 | } |
| 3677 | #endif | 3677 | #endif |
| 3678 | 3678 | ||
| 3679 | #ifndef WINDOWSNT | 3679 | #if (!(defined(WINDOWSNT) && (defined(HAVE_CARBON)) )) |
| 3680 | /* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is | 3680 | /* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is |
| 3681 | almost never correct, thereby causing a warning to be printed out that | 3681 | almost never correct, thereby causing a warning to be printed out that |
| 3682 | confuses users. Since PATH_LOADSEARCH is always overridden by the | 3682 | confuses users. Since PATH_LOADSEARCH is always overridden by the |
| 3683 | EMACSLOADPATH environment variable below, disable the warning on NT. */ | 3683 | EMACSLOADPATH environment variable below, disable the warning on NT. |
| 3684 | Also, when using the "self-contained" option for Carbon Emacs for MacOSX, | ||
| 3685 | the "standard" paths may not exist and would be overridden by | ||
| 3686 | EMACSLOADPATH as on NT. Since this depends on how the executable | ||
| 3687 | was build and packaged, turn off the warnings in general */ | ||
| 3684 | 3688 | ||
| 3685 | /* Warn if dirs in the *standard* path don't exist. */ | 3689 | /* Warn if dirs in the *standard* path don't exist. */ |
| 3686 | if (!turn_off_warning) | 3690 | if (!turn_off_warning) |
| @@ -3702,7 +3706,7 @@ init_lread () | |||
| 3702 | } | 3706 | } |
| 3703 | } | 3707 | } |
| 3704 | } | 3708 | } |
| 3705 | #endif /* WINDOWSNT */ | 3709 | #endif /* WINDOWSNT && HAVE_CARBON*/ |
| 3706 | 3710 | ||
| 3707 | /* If the EMACSLOADPATH environment variable is set, use its value. | 3711 | /* If the EMACSLOADPATH environment variable is set, use its value. |
| 3708 | This doesn't apply if we're dumping. */ | 3712 | This doesn't apply if we're dumping. */ |