开发者

Dot Emacs: Can frame-title-format show preceding directories?

开发者 https://www.devze.com 2023-02-06 19:07 出处:网络
I\'m new to Emacs and loving it so far. In my .emacs I h开发者_开发百科ave the line: (setq frame-title-format \"%b - GNU Emacs\")

I'm new to Emacs and loving it so far. In my .emacs I h开发者_开发百科ave the line:

(setq frame-title-format "%b - GNU Emacs")

How can I get it to show the two preceding directories? I tend to have multiple files open with the same name and knowing the directory it is in would be very helpful.


I think uniquify is a more complete solution to your problem. See http://www.gnu.org/software/emacs/manual/html_node/emacs/Uniquify.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号