branch: elpa/buttercup commit b6deeffe032527696e32623b69bdf07b538a315e Author: Damien Cassou <dam...@cassou.me> Commit: Jorgen Schäfer <jorgen.schae...@gmail.com>
Set Emacs 24.3 as minimum and clean outdated code (close #89) --- .travis.yml | 2 -- buttercup-compat.el | 12 ------------ buttercup.el | 2 +- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6b0d4d8..17b0765 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: emacs-lisp sudo: no env: - - EVM_EMACS=emacs-24.1-travis - - EVM_EMACS=emacs-24.2-travis - EVM_EMACS=emacs-24.3-travis - EVM_EMACS=emacs-24.4-travis - EVM_EMACS=emacs-24.5-travis diff --git a/buttercup-compat.el b/buttercup-compat.el index fa9725a..cd1776e 100644 --- a/buttercup-compat.el +++ b/buttercup-compat.el @@ -30,18 +30,6 @@ ;;; Code: ;;;;;;;;;;;;;;;;;;;;; -;; Introduced in 24.3 - -(when (not (fboundp 'cl-defstruct)) - (defalias 'cl-defstruct 'defstruct)) - -(when (not (fboundp 'cl-every)) - (defalias 'cl-every 'every)) - -(when (not (fboundp 'cl-subsetp)) - (defalias 'cl-subsetp 'subsetp)) - -;;;;;;;;;;;;;;;;;;;;; ;; Introduced in 24.4 (when (not (fboundp 'define-error)) diff --git a/buttercup.el b/buttercup.el index 8b1eb46..4d5dc3c 100644 --- a/buttercup.el +++ b/buttercup.el @@ -39,7 +39,7 @@ ;;; Code: -(require 'cl) +(require 'cl-lib) (require 'buttercup-compat) ;;;;;;;;;;