diff options
| author | Björn Lindström <bkhl@elektrubadur.se> | 2022-04-23 16:03:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-23 15:03:21 +0100 |
| commit | 00184f8fdef02a3a359a253712e8769cbfbea3ba (patch) | |
| tree | afca16476e53588d76cff1210a093e9da02af69a | |
| parent | a8019237a8f5e016a7c952fc2f673a2498a0e779 (diff) | |
Remove dependency on deprecated cl library (#59)
| -rw-r--r-- | ox-jira.el | 4 | ||||
| -rw-r--r-- | ox-jira.org | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -35,7 +35,7 @@ ;;; Code: -(eval-when-compile (require 'cl)) +(eval-when-compile (require 'cl-lib)) (require 'ox) (require 'ox-publish) (require 'subr-x) @@ -306,7 +306,7 @@ contextual information." (tag (let ((tag (org-element-property :tag item))) (when tag (org-export-data tag info)))) - (checkbox (case (org-element-property :checkbox item) + (checkbox (cl-case (org-element-property :checkbox item) (on "(/)") (off "(x)") (trans "(i)")))) diff --git a/ox-jira.org b/ox-jira.org index 8130661..91620b4 100644 --- a/ox-jira.org +++ b/ox-jira.org @@ -101,7 +101,7 @@ The first thing our code needs to do is require the libraries we need. I cargo-culted most of this from =ox-latex.el=. #+BEGIN_SRC emacs-lisp -(eval-when-compile (require 'cl)) +(eval-when-compile (require 'cl-lib)) (require 'ox) (require 'ox-publish) (require 'subr-x) @@ -521,7 +521,7 @@ contextual information." (tag (let ((tag (org-element-property :tag item))) (when tag (org-export-data tag info)))) - (checkbox (case (org-element-property :checkbox item) + (checkbox (cl-case (org-element-property :checkbox item) (on "(/)") (off "(x)") (trans "(i)")))) |
