document title in title bar of emacs

By default emacs in a graphic environment put in the title bar emacs@computer. It’s not a good things when you use the a graphics environment with more than one instance of emacs and try to search for a specific document (ALT+TAB).

It’s possible to have the document name in the titlebar, just put in your ~/.emacs file

(set 'frame-title-format '(myltiple-frames "%b" ("" "%b")))

Advertisements

One thought on “document title in title bar of emacs

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s