diff options
author | Ken Brown <kbrown@cornell.edu> | 2019-07-08 18:37:33 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2019-07-08 18:37:33 -0400 |
commit | 0528a7c8725c7c28a6f2815802fcc089c2fe306f (patch) | |
tree | 7becae40b631d84dc3676ff6dd4f7dbe73bce5af /test/lisp/emacs-lisp/shadow-tests.el | |
parent | 122198d2f1aaf0b74c102874cc9b04ae4789f54f (diff) | |
download | emacs-0528a7c8725c7c28a6f2815802fcc089c2fe306f.tar.gz emacs-0528a7c8725c7c28a6f2815802fcc089c2fe306f.tar.bz2 emacs-0528a7c8725c7c28a6f2815802fcc089c2fe306f.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/shadow-tests.el')
0 files changed, 0 insertions, 0 deletions