Commit Graph

14 Commits

Author SHA1 Message Date
Stephan Creutz
ccca97f226 Replace cl by cl-lib
Since Emacs 27 the package cl is deprecated, the replacement is
cl-lib, which is available since Emacs 24.3.

This patch replaces cl by cl-lib and drops support for Emacs versions
less than 24.3. Dropping older Emacsen is required, because cl-lib is
a builtin starting from version 24.3 and doesn't need an extra package
from ELPA.

Testcases for past issues still contain cl. Most of them seem to be
broken and need further investigation.

This patch is tested with test/run-ert.sh, which outputs:

Ran 10 tests, 10 results as expected, 0 unexpected (2021-01-30 13:24:54+0100, 0.672122 sec)
1 expected failures

and manually by daily usage for a month now.
2021-06-13 16:03:08 +02:00
Noam Postavsky
5f689e1ec6 fix byte compiler warnings in methods/
Add requires or declare-functions as needed. Added some missing
variables (probably worked previously by dynamic binding).
2014-03-22 19:29:34 -04:00
Ryan C. Thompson
fdaaf51570 Cleanup indentation with custom indent rules 2014-03-01 16:19:46 -08:00
Ryan C. Thompson
cf34f9aa0a Clean up whitespace
This commit is the result of running cleanup-whitespace.sh.

Fixes #549.
2014-02-21 10:52:48 -08:00
Victor Deryagin
0a202ea35d changed mentions of 'README.asciidoc' to 'README.md' in source files 2013-04-01 15:46:34 +03:00
Ryan C. Thompson
4b74707964 Update emacsmirror method for github method cleanup
Now it add a :pkgname property instead of just adding ":username
emacsmirror".

Also update the tests for the Github method
2012-10-06 18:13:32 -07:00
Ryan C. Thompson
9b350be579 Add website guessers to some methods 2012-02-28 17:58:44 -08:00
Ryan C. Thompson
61fcc202c4 Update github method declaration to use keyword args 2012-02-21 15:02:26 -08:00
Ryan C. Thompson
bcce3cd469 Rewrite el-get-emacsmirror in terms of el-get-github 2012-02-21 15:02:25 -08:00
Ryan C. Thompson
de429fe5d0 Emacsmirror method should require el-get-core directly
(Instead of indirectly through requiring el-get-git)
2012-02-21 15:02:25 -08:00
Ryan C. Thompson
3a5e6acac2 Update all el-get methods to declare using keywords 2012-02-12 02:29:31 -08:00
Ryan C. Thompson
da6cd05820 Register emacsmirror, git-svn, and emacswiki as derived
This ensures that they will pick up updates to their parent methods
without having to add any code. In particular, git-svn and emacsmirror
will automatically pick up the new git checksum method.
2012-02-12 02:29:30 -08:00
Dimitri Fontaine
8db0c4d49b Fix the refactoring so that it actually works.
This includes teaching methods that they now work with a symbolp PACKAGE,
some more cleaning up, and some load-path adjustments now that a part of the
code is in a subdirectory (methods).

Also include some of the tests used to convince oneself that the refactoring
didn't break any and all use cases for el-get, with some rough documentation
about how to use them.
2011-09-22 21:48:11 +02:00
Dimitri Fontaine
0433ca0ce9 Refactoring it all: a beginning. No time for testing yet, just showing ideas. 2011-09-20 15:15:52 +02:00