emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Help on org-export-filter-link-functions


From: Rasmus
Subject: Re: [O] Help on org-export-filter-link-functions
Date: Sun, 05 Oct 2014 03:13:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

John Kitchin <address@hidden> writes:

> I too am wondering if there is a defined way to get to the element
> properties within a filter function.

qNo.  But sometimes you can recover it from the text-properties, if it
is not a verb, (~·~, =·=).  Her's an example:

  (defun rasmus/get-org-headline-string-element  (headline backend info)
    "Return the org element representation of a headline."
    (let ((prop-point (next-property-change 0 headline)))
      (and prop-point (plist-get (text-properties-at prop-point headline) 
:parent))))

-- 
And I faced endless streams of vendor-approved Ikea furniture. . .






reply via email to

[Prev in Thread] Current Thread [Next in Thread]