diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | mailscripts.el | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 294857a..050458b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,7 +5,8 @@ mailscripts (0.22-1) UNRELEASED; urgency=medium - add new defcustom, mailscripts-project-library - replace *-projectile commands with new *-to-project commands, which support both Projectile and project.el for choosing from known - projects. + projects + - Use 'cl-case' not 'case' and require cl-lib. -- Sean Whitton <spwhitton@spwhitton.name> Tue, 21 Jul 2020 21:22:39 -0700 diff --git a/mailscripts.el b/mailscripts.el index 703f86e..aafcf15 100644 --- a/mailscripts.el +++ b/mailscripts.el @@ -21,6 +21,7 @@ ;;; Code: +(require 'cl-lib) (require 'notmuch) (require 'thingatpt) @@ -202,7 +203,7 @@ git-format-patch(1)." branch)))))) (defun mailscripts--project-repo-and-branch (f &rest args) - (let ((repo (case mailscripts-project-library + (let ((repo (cl-case mailscripts-project-library ('project (require 'project) (project-prompt-project-dir)) |