Mercurial > emacs
changeset 31153:49294d7cfd5b
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 24 Aug 2000 11:42:48 +0000 |
parents | fb30bcf39f12 |
children | cddbaf4b2f1b |
files | ChangeLog configure man/cmdargs.texi src/ChangeLog |
diffstat | 4 files changed, 16 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Aug 24 11:42:33 2000 +0000 +++ b/ChangeLog Thu Aug 24 11:42:48 2000 +0000 @@ -1,3 +1,9 @@ +2000-08-24 Gerd Moellmann <gerd@gnu.org> + + * configure.in <making srcdir absolute>: Unset CDPATH in case $PWD + contains a relative path. Protect against unusable values of + $PWD. + 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il> * info/dir (WoMan): Add entry.
--- a/configure Thu Aug 24 11:42:33 2000 +0000 +++ b/configure Thu Aug 24 11:42:48 2000 +0000 @@ -684,17 +684,17 @@ #### 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
--- a/man/cmdargs.texi Thu Aug 24 11:42:33 2000 +0000 +++ b/man/cmdargs.texi Thu Aug 24 11:42:48 2000 +0000 @@ -191,6 +191,10 @@ 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.
--- a/src/ChangeLog Thu Aug 24 11:42:33 2000 +0000 +++ b/src/ChangeLog Thu Aug 24 11:42:48 2000 +0000 @@ -1,5 +1,7 @@ 2000-08-24 Gerd Moellmann <gerd@gnu.org> + * 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.