Am 11.04.2013 14:42, schrieb Tassilo Horn:
> Thorsten Jolitz <[email protected]> writes:
> 
>>> Please help. Where could I find information/docs for something like
>>> "How to determine when I am in agenda view"?
>>
>> ,------------------------------------------------
>> | M-: (string-equal "*Org Agenda*" (buffer-name))
>> `------------------------------------------------
>>
>> gives t when called from inside the agenda.
> 
> Better
> 
>   (string-equal org-agenda-buffer-name (buffer-name))
> 
> or even better
> 
>   (eq major-mode 'org-agenda-mode)
> 
> Bye,
> Tassilo
> 
> 
> 
Tassilo,

that works perfect and my function also does now!
Exciting!

Thanks, Rainer


Reply via email to