emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] (org-element-property :title ...) not returning a string


From: James Harkins
Subject: Re: [O] (org-element-property :title ...) not returning a string
Date: Wed, 04 Mar 2015 21:53:43 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 AquaMail/1.5.1.13 (build: 21020013)

On March 4, 2015 7:18:11 PM James Harkins <address@hidden> wrote:

I've got:

(defun org-scdoc-headline (headline contents info)
  (unless (org-element-property :footnote-section-p headline)
    (let* ((title (org-element-property :title headline))
           (allcaps (upcase title))
    ... blah blah

It's choking on (upcase...) because 'title' ends up being an element object, and *not* the value of the :title property.

Never mind, I needed to wrap the org-element-property call inside org-export-data.

That much is working now! Next question... maybe tomorrow.

hjh

Sent with AquaMail for Android
http://www.aqua-mail.com





reply via email to

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