• Paul Eggert's avatar
    Do not treat ~nosuchuser as an absolute file name · a5063aa8
    Paul Eggert authored
    Derived from Ken Brown’s patch (Bug#36502#97).
    * doc/lispref/files.texi (Relative File Names):
    * etc/NEWS: Document this.
    * src/fileio.c (user_homedir): New function.
    (Fexpand_file_name, file_name_absolute_p): Use it.
    (search_embedded_absfilename): Simplify via file_name_absolute_p.
    * test/src/fileio-tests.el (fileio-tests--no-such-user): New test.
    a5063aa8
fileio.c 203 KB