Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

emacs

elisp

I'm new to Emacs and loving it so far. In my .emacs I have 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.

like image 705
BasicObject Avatar asked Jan 23 '11 06:01

BasicObject


1 Answers

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

like image 164
cefstat Avatar answered Sep 22 '22 15:09

cefstat