[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Agenda restrict to buffer
From: |
andrea crotti |
Subject: |
Re: [O] Agenda restrict to buffer |
Date: |
Thu, 12 Jul 2012 15:14:36 +0100 |
2012/7/12 Bastien <address@hidden>:
>
> (defun my-org-agenda-command ()
> (interactive)
> (org-agenda-set-restriction-lock 'file)
> (org-agenda nil "%"))
>
> Note that you need to be in your .org file for this to work, so this
> isn't really suited for a global keybinding, only for org-mode-map.
>
> HTH,
>
> --
> Bastien
Nice thanks I'll give it a try..
I can maybe switch to the buffer automatically and run that, as I was
trying to do before.
Just for curiosity, why the lispy arguments are deprecated?