Adam Porter <a...@alphapapa.net> writes:

> Oops, that'll teach me to edit elisp without aggressive-indent-mode.  :) 
> This should work:
>
> (advice-add 'tabbar-buffer-tab-label :before-until
>               (lambda (tab)
>                 (with-current-buffer (buffer-name (tabbar-tab-value tab))
>                   (when (equal major-mode 'org-agenda-mode)
>                     "Agenda"))))

Brilliant, thanks very much Adam, that works a treat.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.92

Attachment: signature.asc
Description: PGP signature

Reply via email to