Force-enable emoji, because it isn't otherwise

This commit is contained in:
TEC 2021-04-26 12:59:11 +08:00
parent aa93a3497d
commit b39ac5ca5b
Signed by: tec
GPG key ID: 779591AFDB81F06C

View file

@ -51,6 +51,10 @@
org-id-locations-file (expand-file-name ".orgids")
org-babel-default-inline-header-args '((:eval . "no") (:exports . "code")))
;;; For some reason emoji detection doesn't seem to work, so let's just turn it on
(setcar (rassoc 'emoji org-latex-conditional-features) t)
;;; Remove generated .tex/.pdf files from the base directory
(defadvice! org-latex-publish-to-pdf-rm-a (_plist filename _pub-dir)
@ -178,7 +182,7 @@ PROJECT is the current project."
(setq html-preamble (file-contents "assets/header.html")
html-postamble (file-contents "assets/footer.html"))
;;; Putting it all together
;;; Some cache files are unwanted
(let ((index-cache-file (expand-file-name "This Month in Org - Index.cache" org-publish-timestamp-directory))
(archive-cache-file (expand-file-name "This Month in Org - Archive,404.cache" org-publish-timestamp-directory))
@ -193,6 +197,8 @@ PROJECT is the current project."
(warn! "Removing problematic RSS cache file")
(delete-file rss-cache-file)))
;;; Putting it all together
(setq org-publish-project-alist
`(("This Month in Org"
:components ("This Month in Org - Pages"