From 00184f8fdef02a3a359a253712e8769cbfbea3ba Mon Sep 17 00:00:00 2001 From: Björn Lindström Date: Sat, 23 Apr 2022 16:03:21 +0200 Subject: Remove dependency on deprecated cl library (#59) --- ox-jira.el | 4 ++-- ox-jira.org | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ox-jira.el b/ox-jira.el index ed6320e..3bb33f1 100644 --- a/ox-jira.el +++ b/ox-jira.el @@ -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)")))) -- cgit v1.2.3