[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] (org-element-property :title ...) not returning a string
From: |
James Harkins |
Subject: |
[O] (org-element-property :title ...) not returning a string |
Date: |
Wed, 04 Mar 2015 19:18:01 +0800 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
I've got:
(defun org-scdoc-headline (headline contents info)
"Transcode a HEADLINE element from Org to ASCII.
CONTENTS holds the contents of the headline. INFO is a plist
holding contextual information."
;; Don't export footnote section, which will be handled at the end
;; of the template.
(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.
Why?
http://orgmode.org/worg/dev/org-export-reference.html is not helpful in
answering this question.
hjh
- [O] (org-element-property :title ...) not returning a string,
James Harkins <=