aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorKen Brown2019-07-15 09:32:49 -0400
committerKen Brown2019-07-21 10:40:54 -0400
commit8b13ec1d7022b05ce71982c83f320d5272b92de7 (patch)
tree19e21f261d255ca52d9de7fe7e181579cde0c056 /src/bytecode.c
parent0c48c0d0b241c1f3d089be033a7dea3a9b947ca5 (diff)
downloademacs-8b13ec1d7022b05ce71982c83f320d5272b92de7.tar.gz
emacs-8b13ec1d7022b05ce71982c83f320d5272b92de7.zip
Fix expand-file-name for names starting with '~'
* src/fileio.c: (file_name_absolute_no_tilde_p): New static function. (Fexpand_file_name): If the current buffer's default-directory starts with "~user" where "user" is not a valid user name, don't give the '~' a special meaning. Just treat the value of default-directory as a relative name. (Bug#36502) * test/src/fileio-tests.el (fileio-tests--relative-default-directory): Add a test.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions