13
Elisp中如何获取文件的绝对路径
source link: https://www.lujun9972.win/blog/2018/09/22/elisp%E4%B8%AD%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96%E6%96%87%E4%BB%B6%E7%9A%84%E7%BB%9D%E5%AF%B9%E8%B7%AF%E5%BE%84/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Elisp中如何获取文件的绝对路径 - 暗无天日
Elisp中如何获取文件的绝对路径
如果你想着用 absolute 来搜索相关函数,那是找不到的...
真正的对应函数叫做 file-truename
不过 file-truename
在处理link文件时会顺着link找到最终的那个文件。
如果想保留link文件就好,那么可以使用 expand-file-name
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK