diff options
author | Holger Dürer <me@hdurer.net> | 2021-11-05 17:57:55 +0100 |
---|---|---|
committer | Holger Dürer <me@hdurer.net> | 2021-11-06 16:15:34 +0100 |
commit | f67114cc6c5c167db7327b6b965839236e0466aa (patch) | |
tree | 592134c4a6f395019c78ed71ad13b4322cf459f2 /test/mastodon-client-tests.el | |
parent | d0bf4f196a9a30ea4e19b0b6fa5f9c5bfaf695b3 (diff) |
Use portable filename component functions.
Apparently one should not rely on "/" being the directory separator
and use the funtions from
https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Name-Components.html#File-Name-Components
instead.
The new version seems strictly better in that it won't create paths
with double slashes when `emojify-emojis-dir` already ends in a slash.
This also refines the test for `emojify-emojis-dir` to actually check
it is an existing directoy and not just an existing file, dir, or
symlink.
Diffstat (limited to 'test/mastodon-client-tests.el')
0 files changed, 0 insertions, 0 deletions