diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-05-18 16:34:19 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-06-02 12:37:19 +0300 |
commit | 6e0ff4cc1f261def00f9f9dd581ba6ef72703f0c (patch) | |
tree | 406a66a7ed14dca5884fb5001473c6a9a624e71e /lisp/emacs-lisp | |
parent | 35c1ab1419174f72010c745d963a55b6c183443c (diff) | |
download | emacs-6e0ff4cc1f261def00f9f9dd581ba6ef72703f0c.tar.gz emacs-6e0ff4cc1f261def00f9f9dd581ba6ef72703f0c.tar.bz2 emacs-6e0ff4cc1f261def00f9f9dd581ba6ef72703f0c.zip |
Fix decoding of directories when "~" includes non-ASCII chars
* src/fileio.c (Fexpand_file_name): Don't build multibyte strings
from unibyte non-ASCII strings when NAME and DEFAULT_DIRECTORY
have different multibyteness, as this adds bytes to the byte
sequence, and in some situations, e.g., when the home directory
includes non-ASCII characters, can fail file APIs. (Bug#30755)
* lisp/startup.el (normal-top-level): Make sure default-directory
is set to a multibyte string when decoded on MS-Windows.
(cherry picked from commit 3aab8626ba5080bb04d0fdae52d99c850a842a52)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions