• Ken Brown's avatar
    Ensure that expand-file-name returns an absolute file name · 0528a7c8
    Ken Brown authored
    * src/fileio.c (Fexpand_file_name): Don't directly use the current
    buffer's default-directory if it is relative.  Instead replace it
    by its expansion relative to invocation-directory.  (Bug#36502)
    * test/src/fileio-tests.el
    (fileio-tests--relative-default-directory): New test.
    0528a7c8
fileio.c 201 KB