help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frame titles which reflect contents


From: Eduardo Cavazos
Subject: Re: Frame titles which reflect contents
Date: Fri, 1 Jan 2010 19:41:44 -0800 (PST)
User-agent: G2/1.0

> I think this will do what you want, it works for me anyway:
>
> (defun window-to-buffer-name (w)
>   (buffer-name (window-buffer w)))
>
> (setq frame-title-format
>       '("" (:eval (mapconcat #'window-to-buffer-name
>                              (window-list)
>                              " | "))))
>
> The selected-window is always the first element in window-list by
> default.

This is very nice... Thanks!

Ed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]