mirror of https://github.com/yjwen/org-reveal.git
Fix duplicate lambda
This commit is contained in:
parent
d99311fc5b
commit
3b40266307
|
@ -859,7 +859,6 @@ Reveal.initialize({
|
||||||
;; First value of the tuple, a list of scripts HTML tags
|
;; First value of the tuple, a list of scripts HTML tags
|
||||||
(let ((root-path (file-name-as-directory (plist-get info :reveal-root))))
|
(let ((root-path (file-name-as-directory (plist-get info :reveal-root))))
|
||||||
(mapconcat
|
(mapconcat
|
||||||
(lambda (p)
|
|
||||||
(lambda (p)
|
(lambda (p)
|
||||||
;; when it is a list, create a script tag for every entry
|
;; when it is a list, create a script tag for every entry
|
||||||
(cond
|
(cond
|
||||||
|
@ -871,7 +870,7 @@ Reveal.initialize({
|
||||||
"\n"))
|
"\n"))
|
||||||
;; when it is a single string, create a single script tag
|
;; when it is a single string, create a single script tag
|
||||||
(t (format "<script src=\"%s\"></script>\n"
|
(t (format "<script src=\"%s\"></script>\n"
|
||||||
(format p root-path))))))
|
(format p root-path)))))
|
||||||
plugin-js
|
plugin-js
|
||||||
""))
|
""))
|
||||||
;; Second value of the tuple, a list of Reveal plugin
|
;; Second value of the tuple, a list of Reveal plugin
|
||||||
|
|
Loading…
Reference in New Issue