Skip to content

Commit

Permalink
Add explicit dependency on cl-generic
Browse files Browse the repository at this point in the history
Attempt to install cl-generic forward-compatibility package from elpa
for testing Emacs 24.
  • Loading branch information
non-Jedi committed Mar 23, 2020
1 parent 8118a26 commit 31ab9cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ install:
- if [ "$EMACS" = 'emacs25' ] || [ "$EMACS" = 'emacs-snapshot' ]; then
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa;
fi
- if [ "$EMACS" = 'emacs24' ]; then
$EMACS --batch --eval "(progn (package-initialize) (package-install 'cl-generic))";
fi
- sudo apt-get -qq update && sudo apt-get -qq -f install && sudo apt-get -qq install $EMACS $EMACS-el

script:
Expand Down
3 changes: 2 additions & 1 deletion julia-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;; URL: https://github.com/JuliaEditorSupport/julia-emacs
;; Version: 0.4
;; Keywords: languages
;; Package-Requires: ((emacs "24.3"))
;; Package-Requires: ((emacs "24.3") (cl-generic "0.3"))

;;; Usage:
;; Put the following code in your .emacs, site-load.el, or other relevant file
Expand Down Expand Up @@ -37,6 +37,7 @@
;;; Code:

(require 'cl-lib)
(require 'cl-generic)
(require 'julia-mode-latexsubs)
(require 'project nil t)

Expand Down

0 comments on commit 31ab9cf

Please sign in to comment.