[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/buffer.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/buffer.c |
Date: |
Mon, 29 Nov 2004 02:22:29 -0500 |
Index: emacs/src/buffer.c
diff -c emacs/src/buffer.c:1.466 emacs/src/buffer.c:1.467
*** emacs/src/buffer.c:1.466 Thu Nov 25 03:16:34 2004
--- emacs/src/buffer.c Mon Nov 29 07:16:25 2004
***************
*** 5162,5168 ****
}
#endif /* not VMS */
! current_buffer->directory = build_string (buf);
/* Add /: to the front of the name
if it would otherwise be treated as magic. */
--- 5162,5174 ----
}
#endif /* not VMS */
! current_buffer->directory = make_unibyte_string (buf, strlen (buf));
! if (! NILP (buffer_defaults.enable_multibyte_characters))
! /* At this momemnt, we still don't know how to decode the
! direcotry name. So, we keep the bytes in multibyte form so
! that ENCODE_FILE correctly gets the original bytes. */
! current_buffer->directory
! = string_to_multibyte (current_buffer->directory);
/* Add /: to the front of the name
if it would otherwise be treated as magic. */