Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2013-06-05 14:24:58 +02:00
commit 221768a768
1 changed files with 5 additions and 4 deletions

View File

@ -3460,10 +3460,11 @@ double quotes will be read as-is, which means that \"\" value
will become the empty string."
(let* ((prepare-value
(lambda (str)
(cond ((member str '(nil "" "nil")) nil)
((string-match "^\"\\(\"+\\)?\"$" str)
(or (match-string 1 str) ""))
(t str))))
(save-match-data
(cond ((member str '(nil "" "nil")) nil)
((string-match "^\"\\(\"+\\)?\"$" str)
(or (match-string 1 str) ""))
(t str)))))
(attributes
(let ((value (org-element-property attribute element)))
(when value