Skip to content

Commit

Permalink
Revert "Don't export a citeproc CSL test if emacs < 26.0"
Browse files Browse the repository at this point in the history
This reverts commit 432e207.

Nope.. that didn't work. The error is thrown the moment Org parses the
  • Loading branch information
kaushalmodi committed Feb 11, 2022
1 parent 432e207 commit d0d7fdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions test/setup-ox-hugo.el
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,7 @@ Fake current time: 2100/12/21 00:00:00 (arbitrary)."
nil :nomessage :nosuffix)

(with-eval-after-load 'ox
(add-to-list 'org-export-exclude-tags "dont_export_during_make_test")
;; `citeproc.el' throws error on Emacs 25.x
;; https://github.com/andras-simonyi/citeproc-el/issues/102
(when (version< emacs-version "26.0")
(add-to-list 'org-export-exclude-tags "noexport_emacs25")))
(add-to-list 'org-export-exclude-tags "dont_export_during_make_test"))

;; Wed Sep 04 22:23:03 EDT 2019 - kmodi
;; The ox-hugo tests were failing on Travis only on Emacs 24.4 and
Expand Down
2 changes: 1 addition & 1 deletion test/site/content-org/citation-csl.org
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#+bibliography: cite/bib/orgcite.bib
#+cite_export: csl

#+filetags: org_cite csl citations bibliography noexport_emacs25
#+filetags: org_cite csl citations bibliography

#+macro: oxhugoissue =ox-hugo= Issue #[[https://github.com/kaushalmodi/ox-hugo/issues/$1][$1]]

Expand Down
2 changes: 1 addition & 1 deletion test/site/content/posts/citation-csl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Citation CSL"
description = "Test citation CSL using `oc.el` + `citeproc.el`."
tags = ["org-cite", "csl", "citations", "bibliography", "noexport-emacs25"]
tags = ["org-cite", "csl", "citations", "bibliography"]
draft = false
+++

Expand Down

0 comments on commit d0d7fdb

Please sign in to comment.