summaryrefslogtreecommitdiff
path: root/test/lisp/use-package/use-package-tests.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Pre-expand lexical-let, since otherwise it requires cl to be loaded"John Wiegley2017-12-071-5/+10
| | | | This reverts commit 7cc17cee8f8ae2093d98efebf429cd10e9b0b81c.
* Pre-expand lexical-let, since otherwise it requires cl to be loadedJohn Wiegley2017-12-061-10/+5
| | | | Fixes https://github.com/jwiegley/use-package/issues/571
* Add a comment as to why max-lisp-eval-depth is set in -tests.elJohn Wiegley2017-12-061-0/+2
|
* Add :bind test for a single cons cellJohn Wiegley2017-12-061-0/+12
| | | | Relates to https://github.com/jwiegley/use-package/issues/566
* Update some GPL version referencesJohn Wiegley2017-12-061-1/+1
| | | | Fixes https://github.com/jwiegley/use-package/issues/563
* Allow the expansion of :after (:or foo bar) to be byte-compiledJohn Wiegley2017-12-061-68/+56
|
* Make the expanded text for :after cleanerJohn Wiegley2017-12-061-70/+59
|
* Don't auto-defer if the package itself was given to :loadJohn Wiegley2017-12-051-0/+21
| | | | Otherwise, we'd be senselessly waiting for the package to load.
* Enable all tests on TravisJohn Wiegley2017-12-051-88/+83
|
* Default running-on-travis to tJohn Wiegley2017-12-051-1/+1
|
* Enable 4 tests that work when not run on TravisJohn Wiegley2017-12-051-97/+102
|
* For now, stub out test that breaks TravisJohn Wiegley2017-12-051-19/+19
|
* Stub some referenced variables, for TravisJohn Wiegley2017-12-051-16/+18
|
* Lower the priority of :if/:when/:unless in use-package-keywordsJohn Wiegley2017-12-051-0/+18
| | | | Fixes https://github.com/jwiegley/use-package/issues/560
* Enhance fix-expansion to take surrounding let bindings into accountJohn Wiegley2017-12-051-3/+13
|
* Rewrite normalization of :bind and :bind*John Wiegley2017-12-051-15/+138
| | | | Fixes https://github.com/jwiegley/use-package/issues/550
* Avoid using pcase and many other macros in macro-expanded formsJohn Wiegley2017-12-051-65/+112
| | | | This is related to https://github.com/jwiegley/use-package/issues/550
* Fix bad interaction between bind-keys* and the :package keywordJohn Wiegley2017-12-051-0/+6
| | | | Fixes https://github.com/jwiegley/use-package/issues/558
* Fix the case where :ensure is given no argumentsJohn Wiegley2017-12-041-0/+8
| | | | Fixes https://github.com/jwiegley/use-package/issues/543
* Add a bind-key testJohn Wiegley2017-12-041-0/+9
|
* Support :ensure (pkg :pin archive)John Wiegley2017-12-041-21/+27
| | | | Fixes https://github.com/jwiegley/use-package/issues/506
* Fix an argument process problem with bind-keyJohn Wiegley2017-12-041-1/+76
| | | | Fixes https://github.com/jwiegley/use-package/issues/334
* Comment out two tests that break on TravisJohn Wiegley2017-12-041-45/+45
|
* Rename up-* files to use-package-* for consistencyJohn Wiegley2017-12-041-0/+1397
|
* Break out ensure/diminish/delight into their own support filesJohn Wiegley2017-12-031-1210/+0
|
* Disable a test that is not working on TravisJohn Wiegley2017-12-031-33/+33
|
* More variable renaming needed in the testsJohn Wiegley2017-12-031-24/+24
|
* Separate out all tests, the better to identify which one failedJohn Wiegley2017-12-031-106/+169
|
* Define macroexpand-1 for older EmacsenJohn Wiegley2017-12-031-0/+25
|
* A great deal of internal reorganization and simplificationJohn Wiegley2017-12-031-200/+220
| | | | | | | | | All handlers now address their own domain of work; :after has become safer; keyword normalization is multi-stage process; setting use-package-verbose to `debug' produces useful output in the *use-package* buffer in the case of load time errors; use-package errors (even internal) won't stop Emacs from starting (though a serious internal bug that errors out every use-package form may stop anything from being configured!); and more.
* If use-package-verbose is t, show loading times when :after is usedJohn Wiegley2017-12-011-78/+78
|
* Remove the :defer-install keywordJohn Wiegley2017-12-011-10/+10
| | | | This may reappear as its own add-on to use-package in the future. See https://github.com/jwiegley/use-package/issues/442.
* :demand should not override an explicit use of :afterJohn Wiegley2017-12-011-1/+19
| | | | Fixes https://github.com/jwiegley/use-package/issues/529
* Add tests for the last two keywordsJohn Wiegley2017-12-011-7/+18
|
* Add many more testsJohn Wiegley2017-12-011-119/+551
|
* Always wrap the expanded body from use-package in (progn)John Wiegley2017-12-011-38/+45
|
* Comment out :no-require test for nowJohn Wiegley2017-12-011-9/+9
| | | | It works on my machine, but not with what Travis runs.
* Add many new testsJohn Wiegley2017-12-011-33/+277
|
* Allow match-expansion to take multiple casesJohn Wiegley2017-11-301-2/+2
|
* Add test for use-package-test-normalize/:ensureJohn Wiegley2017-11-301-0/+10
|
* Add the missing plist-deleteJohn Wiegley2017-11-301-0/+9
|
* Remove an unneeded defvarJohn Wiegley2017-11-301-7/+5
|
* Add a test case for :ensure, following up fromJohn Wiegley2017-11-301-6/+108
| | | GitHub-reference: https://github.com/jwiegley/use-package/issues/190
* Add two new testsJohn Wiegley2017-11-301-0/+30
|
* Add stubs for future tests of all keywordsJohn Wiegley2017-11-301-30/+167
|
* Whitespace fixJohn Wiegley2017-11-291-3/+1
|
* Allow :bind ("C-c C-c" . (lambda () (ding))) and #'(lambda ...)John Wiegley2017-11-291-0/+14
| | | | | Fixes https://github.com/jwiegley/use-package/issues/333 Fixes https://github.com/jwiegley/use-package/issues/461
* Allow `:diminish` with no argumentsJoe Wreschnig2017-07-081-0/+12
| | | | | | | | | | | | | | | When given no arguments, have :diminish assume it should diminish a mode named after the current package (the package’s name, with “-mode” appended, if it’s not already) to an empty string. When given only a string to diminish an implicit package name to, do not append “-mode” to the package name if it already ends with it. (This is a backwards-incompatible change if someone was diminishing a package named “foo-mode” implementing `foo-mode-mode`.) Add test cases for `use-package-normalize-diminish`. This addresses some of the redundancy mentioned in issue https://github.com/jwiegley/use-package/issues/288.
* Allow :major as the third argument in :delight callsJoe Wreschnig2017-07-021-1/+3
|
* Allow multiple :delight arguments, or omitting the mode. ()Joe Wreschnig2017-07-021-0/+19
| | | | | | | | | | | | | This allows using forms such as (use-package foo :delight) ;; => (delight 'foo-mode) (use-package foo :delight " f") ;; => (delight 'foo-mode " f") (use-package foo :delight (a-mode) (b-mode " b") ;; => (delight 'a-mode) (delight 'b-mode " b") This brings support for `:delight` in line with `:diminish`. GitHub-reference: https://github.com/jwiegley/use-package/issues/477