mirror of https://github.com/yjwen/org-reveal.git
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:
parent
01a1f6da94
commit
ca05044846
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue