diff --git a/.travis.yml b/.travis.yml index b0e5906..d939351 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ env: install: - if [ "$EMACS" = "emacs24" ]; then - sudo add-apt-repository -y ppa:cassou/emacs && + sudo add-apt-repository -y ppa:fryda.tomas/emacs && sudo apt-get update -qq && sudo apt-get install -qq emacs24 emacs24-el && make install-deps; diff --git a/rjsx-tests.el b/rjsx-tests.el index 605793c..24f060e 100644 --- a/rjsx-tests.el +++ b/rjsx-tests.el @@ -161,7 +161,7 @@ Currently only forms with syntax errors are supported. "%s\\(\\s-\\|$\\)") "The regexp the `find-function' mechanisms use for finding RJSX test definitions.") -(setf (alist-get 'rjsx-deftest find-function-regexp-alist) 'rjsx--find-test-regexp) +(push '(rjsx-deftest . rjsx--find-test-regexp) find-function-regexp-alist) (defun rjsx-find-test-advice (orig-fn test-name) "Advice for `ert-find-test-other-window' (ORIG-FN) to find TEST-NAME."