2012/7/12 Bastien <b...@gnu.org>:
>
> (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?

Reply via email to