emacs改文件名称
In Emacs, how to print the name of the current file that I am editing?
The built-in function buffer-file-name
gives the full path of your file.
内置函数buffer-file-name
提供了buffer-file-name
的完整路径。
To get the file name:
要获取文件名:
M-: buffer-file-name
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。
翻译自: https://www.systutorials.com/how-to-print-the-name-of-the-current-file-being-edited-in-emacs/
emacs改文件名称