]> git.eshelyaron.com Git - emacs.git/commit
Ensure that expand-file-name returns an absolute file name
authorKen Brown <kbrown@cornell.edu>
Mon, 8 Jul 2019 22:37:33 +0000 (18:37 -0400)
committerKen Brown <kbrown@cornell.edu>
Mon, 8 Jul 2019 22:37:33 +0000 (18:37 -0400)
commit0528a7c8725c7c28a6f2815802fcc089c2fe306f
tree7becae40b631d84dc3676ff6dd4f7dbe73bce5af
parent122198d2f1aaf0b74c102874cc9b04ae4789f54f
Ensure that expand-file-name returns an absolute file name

* 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.
src/fileio.c
test/src/fileio-tests.el