mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-22 07:09:47 +00:00
Don't generate links for empty theme or transition.
* ox-deck.el (org-deck--get-packages): Check for non-blank deck-theme and deck-transition.
This commit is contained in:
parent
6ca7953db5
commit
8ed99fad6b
@ -308,13 +308,15 @@ Note that the wrapper div must include the class \"slide\"."
|
||||
(when (file-exists-p (concat dir base "html"))
|
||||
(add-to-list 'snippets (concat dir base "html"))))))
|
||||
(org-deck--find-extensions))
|
||||
(add-to-list 'sheets
|
||||
(if (file-name-directory theme) theme
|
||||
(format "%sthemes/style/%s" prefix theme)))
|
||||
(add-to-list
|
||||
'sheets
|
||||
(if (file-name-directory transition) transition
|
||||
(format "%sthemes/transition/%s" prefix transition)))
|
||||
(if (not (string-match-p "^[[:space:]]*$" theme))
|
||||
(add-to-list 'sheets
|
||||
(if (file-name-directory theme) theme
|
||||
(format "%sthemes/style/%s" prefix theme))))
|
||||
(if (not (string-match-p "^[[:space:]]*$" transition))
|
||||
(add-to-list
|
||||
'sheets
|
||||
(if (file-name-directory transition) transition
|
||||
(format "%sthemes/transition/%s" prefix transition))))
|
||||
(list :scripts (nreverse scripts) :sheets (nreverse sheets)
|
||||
:snippets snippets)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user