Skip to content

Commit

Permalink
Add support for Emacs24.5
Browse files Browse the repository at this point in the history
  • Loading branch information
10sr committed Jan 10, 2019
1 parent 9545682 commit bec6ddc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ before_install:
- ./.evm/bin/evm config path /tmp
- ./.evm/bin/evm install emacs-$EMACS_VERSION-travis --use
- ./.evm/bin/emacs --version
- if [[ "$EMACS_VERSION" == 24.5 ]]; then wget "http://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/packages/cl-generic/cl-generic.el?id=a1cdea05e8cbfe15ba075c64417db20b814e48e8"; fi

script:
make test EMACS=$PWD/.evm/bin/emacs
2 changes: 2 additions & 0 deletions editorconfig-core-handle.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
;;; Code:

(require 'cl-lib)
;; Require explicit load for Emacs<25
(require 'cl-generic)

(require 'editorconfig-fnmatch)

Expand Down
2 changes: 1 addition & 1 deletion editorconfig.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: EditorConfig Team <[email protected]>
;; Version: 0.7.14
;; URL: https://github.com/editorconfig/editorconfig-emacs#readme
;; Package-Requires: ((cl-lib "0.5"))
;; Package-Requires: ((cl-lib "0.5") (cl-generic "0.3"))

;; See
;; https://github.com/editorconfig/editorconfig-emacs/graphs/contributors
Expand Down

0 comments on commit bec6ddc

Please sign in to comment.