Commit Graph

15 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
eb264f7c64 Fix compilation on different Emacs versions
* .travis.yml:
* test/travis-ci.sh: Don't treat byte-compilation warnings as errors for
downloaded package.el and ert.

* el-get-dependencies.el (el-get-auto-dependencies): Don't use
`read-from-whole-string', it's obsolete in Emacs 25.

* el-get-list-packages.el (el-get-package-menu-sort-by-column): Don't
assume `mouse-select-window' is fbound, it may not be for non-X builds.
2016-05-14 07:47:28 -04:00
Noam Postavsky
00e08b148d .travis.yml: don't hide compile failure
Fix compile warnings that snuck in while the test was broken.
2015-11-13 23:39:27 -05:00
Noam Postavsky
0f78555208 el-get-auto-update-dependencies: message when interactive 2015-07-23 10:05:50 -04:00
Noam Postavsky
64dde137e9 el-get-auto-dependencies: error on non-el-get pkgs 2015-07-23 10:05:50 -04:00
Noam Postavsky
c2294796b9 el-get-auto-update-dependencies: new function 2015-07-23 10:05:49 -04:00
Noam Postavsky
bd2f54b84c auto deps: don't depend on stuff in the same repo
Sometimes there will be multiple packages in the same repository that
depend on each other, so we shouldn't tell el-get to go look for them in
another repository.
2015-07-23 10:05:49 -04:00
Noam Postavsky
3371f95f26 el-get-auto-dependencies: new function 2015-07-23 10:05:48 -04:00
Noam Postavsky
d30ddb78e1 fix byte compile warnings
Move more variables to el-get-custom.el, add requires or
declare-functions as needed.

There were a few places that appeared to be actual bugs: wrong or
missing variable names.
2014-03-22 18:43:42 -04:00
Noam Postavsky
5e5475fd59 replace flet with let+lambda+funcall
flet is marked obsolete in 24.3 resulting in quite a lot of annoying
messages. The intended replacement is cl-flet, but that is unavailable
in earlier emacsen, so we can't use that either.
2014-03-15 19:57:54 -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
Dimitri Fontaine
a2202e9212 Use our new dependencies tracking code at init time too. 2011-09-23 11:39:12 +02:00
Dimitri Fontaine
7a4a744d98 Simplify `el-get-install' and dependencies management.
This refactoring branch will need some testing at some point…
2011-09-21 16:06:18 +02:00