[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to rename the agenda in org-mode?
From: |
Sharon Kimble |
Subject: |
Re: [O] How to rename the agenda in org-mode? |
Date: |
Mon, 04 Apr 2016 18:53:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) |
Adam Porter <address@hidden> 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
signature.asc
Description: PGP signature