[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lisp question
From: |
suvayu ali |
Subject: |
Re: lisp question |
Date: |
Thu, 4 Aug 2011 08:49:33 +0200 |
Hi Jambunathan,
On Thu, Aug 4, 2011 at 6:52 AM, Jambunathan K <kjambunathan@gmail.com> wrote:
> Return value is a text with properties. You can use
>
> (substring-no-properties (org-get-category (point)))
>
> to get just the text part.
>
> I think you will be better off using the property APIs. You can use
> (org-entry-get (point) "CATEGORY")
>
> to extract the desired information.
>
> See "Using the property API" section of the manual.
Thanks a lot for both the pointers! :)
--
Suvayu
Open source is the future. It sets us free.