From: Gerd Moellmann Date: Thu, 24 Aug 2000 11:42:48 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-21.0.90~1992 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17494071e6e677db065dcc140e078c3a90809e98;p=emacs.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 3b0bb248945..f7d907d52ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-08-24 Gerd Moellmann + + * configure.in : Unset CDPATH in case $PWD + contains a relative path. Protect against unusable values of + $PWD. + 2000-08-08 Eli Zaretskii * info/dir (WoMan): Add entry. diff --git a/configure b/configure index 133ef04b875..ef75538345d 100755 --- a/configure +++ b/configure @@ -684,17 +684,17 @@ fi #### Make srcdir absolute, if it isn't already. It's important to -#### avoid running the path through pwd unnecessary, since pwd can +#### avoid running the path through pwd unnecessarily, since pwd can #### give you automounter prefixes, which can go away. We do all this #### so Emacs can find its files when run uninstalled. +## Make sure CDPATH doesn't affect cd (in case PWD is relative). +unset CDPATH case "${srcdir}" in /* ) ;; . ) ## We may be able to use the $PWD environment variable to make this ## absolute. But sometimes PWD is inaccurate. - ## Make sure CDPATH doesn't affect cd (in case PWD is relative). - unset CDPATH - if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ; + if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".${PWD}" ; then srcdir="$PWD" else diff --git a/man/cmdargs.texi b/man/cmdargs.texi index 4409439298c..cc40b3a9680 100644 --- a/man/cmdargs.texi +++ b/man/cmdargs.texi @@ -191,6 +191,10 @@ even if @samp{--unibyte} is specified; see @ref{Enabling Multibyte}.) Setting the environment variable @env{EMACS_UNIBYTE} has the same effect. +The exception to the rule are Emacs Lisp files. An Emacs Lisp file that +doesn't contain the tag @samp{unibyte: t} is loaded in multibyte mode, +and thus strings created while loading will be multibyte. + @item --multibyte Inhibit the effect of @env{EMACS_UNIBYTE}, so that Emacs uses multibyte characters by default, as usual. diff --git a/src/ChangeLog b/src/ChangeLog index ea28e7145f9..43a89687ecc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2000-08-24 Gerd Moellmann + * bytecode.c (mark_byte_stack): Add a comment. + * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is a graphical frame.