Don't use subr-x function.

This library wasn't properly required, so the previous patch for data-transition
didn't work with a compiled ox-reveal. Now we simply inline the
definition of string-empty-p ourselves as it is trivial.
This commit is contained in:
Anthony Cowley 2016-03-08 01:11:10 -05:00
parent 01a1f6da94
commit ca05044846
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ holding contextual information."
(let ((attrs
(org-html--make-attribute-string
`(:data-transition ,(org-element-property :REVEAL_DATA_TRANSITION headline)))))
(if (string-empty-p attrs)
(if (string= attrs "")
"<section>\n"
(format "<section %s>\n" attrs))))
;; Start a new slide.