diff options
| author | Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de> | 2012-02-09 09:50:26 +0100 |
|---|---|---|
| committer | Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de> | 2012-02-09 09:50:26 +0100 |
| commit | f625a5256af4b95c77738faff4ccd786cd80a683 (patch) | |
| tree | a651eb550be2da78b86a105add7dbae5839e150d /Makefile | |
| parent | d60cb3d0b3448dd7e6d340e6096165943e8c939a (diff) | |
Do not load "goto-chg.el" from "evil-integration.el"
If the goto-chg.el package is available and installed properly it is
autoloaded (or should be loaded manually). The corresponding motions
g; and g, are now *always* bound to `goto-last-change' and
`goto-last-change-reverse', resp., and work if goto-chg.el is
available, otherwise an error is raised. The old implementation loaded
"goto-chg.el" automatically from "evil-integration.el". But even if
this succeeded the corresponding bindings for g; and g, would not have
been installed (unless "goto-chg.el" had been loaded manually before
evil), because "evil-maps.el" is loaded *before*
"evil-integration.el", thus the loading of "goto-chg.el" in the latter
file is useless.
The package "lib/goto-chg.el" coming with evil is loaded automatically
for "make emacs" and "make terminal".
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -64,18 +64,20 @@ tests: compile # Load Evil in a fresh instance of Emacs and run all tests. emacs: - $(EMACS) -Q -L . $(LIBS) -l evil-tests.el --eval "(evil-mode 1)" \ + $(EMACS) -Q -L . $(LIBS) -l goto-chg.el -l evil-tests.el \ +--eval "(evil-mode 1)" \ --eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}) t)" & # Load Evil in a terminal Emacs and run all tests. term: terminal terminal: - $(EMACS) -nw -Q -L . $(LIBS) -l evil-tests.el --eval "(evil-mode 1)" \ + $(EMACS) -nw -Q -L . $(LIBS) -l goto-chg.el -l evil-tests.el \ +--eval "(evil-mode 1)" \ --eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}) t)" # Run all tests with profiler. profiler: - $(EMACS) --batch -Q -L . $(LIBS) -l evil-tests.el \ + $(EMACS) --batch -Q -L . $(LIBS) -l goto-chg.el -l evil-tests.el \ --eval "(evil-tests-initialize '(${TAG}) (or '(${PROFILER}) t))" # Re-indent all Evil code. |
