aboutsummaryrefslogtreecommitdiff
path: root/evil.el
AgeCommit message (Collapse)Author
2024-09-15Replace uses of `defadvice` with `advice-add`Stefan Monnier
This either requires a dependency on the `nadvice` package, or bumping the minimum Emacs version to 24.4. I went with the `nadvice` package, but maybe bumping up to 24.4 would be better. * evil.el: Require `nadvice`. * evil-core.el (evil--advices): New var. (evil-mode): Use it instead of `ad-dis/enable`. (evil--advice-add): New function. (set-window-buffer, select-window, toggle-input-method, use-global-map): * evil-search.el (isearch-message-prefix, isearch-delete-char) (isearch-lazy-highlight-search): * evil-integration.el (keyboard-quit, wdired-change-to-dired-mode) (show-paren-function, quail-show-key, describe-char, ace-jump-done): Use `(evil--)advice-add` instead of `defadvice`. (preceding-sexp, pp-last-sexp): Remove old code for when `advice-add` is not available. * evil-repeat.el (evil--read-key-sequence-advice): Adapt to use in `advice-add`. (read-key-sequence, read-key-sequence-vector): Use `advice-add`. * evil-keybindings.el (elp-results): Use `advice-add` and move outside of `eval-after-load`.
2023-08-20Misc minor changesStefan Monnier
* README.md: Mention that `undo-fu` is also in NonGNU ELPA and update its repository URL. * evil.el: Update the undo-fu repository URL. * evil-macros.el (evil-define-interactive-code): Move the insertion of quote around `func` to the `cond` so the `quote` is not incorrectly added around lambda forms. * evil-tests.el: Add a FIXME. * evil-commands.el (evil-save-side-windows): Silence spurious warning.
2023-08-20Use lexical-binding everywhereStefan Monnier
Most of the code already used lexical-binding, but there were still a few of remnant of use of the old dynbound dialect. * evil-tests.el: Activate `lexical-binding`. (evil-test-change-state): Initialize the local vars immediately rather than as a separate step. Remove unused vars `keymap` and `local-keymap`. (evil-test-auxiliary-maps): Rename local var to `evil--map` and declare it dynbound since we need `evil-define-key` to have access to it. (evil-test-exclusive-type): Remove unused var `third`. (evil-test-text-object): Mark unused var `type`. (evil-with-both-search-modules): Move before first use. (evil-test-properties): Rename local var to `evil--alist` and declare it dynbound since we need `evil-put-property` to have access to it. * evil.el: Activate `lexical-binding`. * evil-types.el ("<addr>"): * evil-common.el (evil--eval-expr): * evil-commands.el (evil-ex-global): Tell `eval` to use the lexbind dialect of ELisp.
2023-08-13Urgent revert of recent commits while evil is brokenTom Dalziel
Some of these commits can be almost immediately restored, once the time is found to do so. Revert "Fix evil-with-delay with dynamic binding" This reverts commit 1e9b2434264529fe0dd964b68fe89236a4abeac3. Revert "Some cleanups" This reverts commit 0cbd61f2de104fab16602d0418605cd0513b16f3. Revert "Misc minor changes" This reverts commit b291039b0c6ffc3b2f3c9f02b8ad2f0041127b12. Revert "Merge evil-with-delay condition and body lambdas" This reverts commit 1b56ffcc102b4c5f8b015e760b5f9cf5932622af. Revert "(evil-with-delay): New macro, extracted from `evil-delay`" This reverts commit 3d7faadf30016a8c20699a5fb1b5731b8a49dcd2. Revert "Make evil-search-wrap-ring-bell work with evil-search" This reverts commit 5e72cf5b6d57b785ea229236bb5c4638db2c9a05. Revert "Stop the '</'> and '[/'] marks from intertwining" This reverts commit 26db9441a13ebedb2481d7ada4c3b5e60ec22795. Revert "Remove redundant `:group` args" This reverts commit 6e30037fdc6a275d78d6b82d89bd8e47bcf4d4e3. Revert "Avoid eval in evil-test-buffer" This reverts commit 27d81ad406d2d3e07591b927357d2354ef5b5c65. Revert "Use lexical-binding everywhere" This reverts commit 44c7f301468c264a781be4ee8ae879fe1b457e60.
2023-08-12Misc minor changesStefan Monnier
* README.md: Mention that `undo-fu` is also in NonGNU ELPA and update its repository URL. * evil.el: Update the undo-fu repository URL. * evil-macros.el (evil-define-interactive-code): Move the insertion of quote around `func` to the `cond` so the `quote` is not incorrectly added around lambda forms. * evil-tests.el: Add a FIXME. * evil-commands.el (evil-save-side-windows): Silence spurious warning.
2023-08-07Use lexical-binding everywhereStefan Monnier
Most of the code already used lexical-binding, but there were still a few of remnant of use of the old dynbound dialect. * evil-tests.el: Activate `lexical-binding`. (evil-test-change-state): Initialize the local vars immediately rather than as a separate step. Remove unused vars `keymap` and `local-keymap`. (evil-test-auxiliary-maps): Rename local var to `evil--map` and declare it dynbound since we need `evil-define-key` to have access to it. (evil-test-exclusive-type): Remove unused var `third`. (evil-test-text-object): Mark unused var `type`. (evil-with-both-search-modules): Move before first use. (evil-test-properties): Rename local var to `evil--alist` and declare it dynbound since we need `evil-put-property` to have access to it. * evil.el: Activate `lexical-binding`. * evil-types.el ("<addr>"): * evil-common.el (evil--eval-expr): * evil-commands.el (evil-ex-global): Tell `eval` to use the lexbind dialect of ELisp.
2023-07-09Autoload evil-digraphAxel Forsman
2023-06-25Small cleanupsAxel Forsman
* Deprecate evil-loop since it is too niche, and manages makes evil-motion-loop less readable. * Use separate setq-local calls for each variable/value pair, since the combined form does not exist in Emacs versions <=25.3.
2023-01-06Update project KeywordsTom Dalziel
2022-04-25Bump version to 1.15.0Tom Dalziel
2021-11-23Fix #1543 email address for nonGNU ELPA (#1545)Tom Dalziel
2021-08-08Mention NonGNU ELPAVasilij Schneidermann
2020-10-01Make undo-tree an optional dependencyVasilij Schneidermann
Closes #1074
2020-03-04Bump version to 1.14.01.14.0Eivind Fonn
2019-12-18Bump version to 1.13.0Eivind Fonn
Version 1.2.15 was accidentally tagged as 1.12.15, and released as such by MELPA Stable, so now I guess we have to run with it.
2019-12-11Bump version to 1.3.0-snapshotEivind Fonn
2019-12-11Bump version to 1.2.151.2.15Eivind Fonn
2019-01-04Bump version to 1.2.141.2.14Eivind Fonn
2018-09-12Split keybindings out from evil-integrationJames Nguyen
2017-12-11Tweak .depend file generation to support conditional requireEvgeni Kolev
2017-12-10Add option evil-want-integration #992Evgeni Kolev
2017-10-02update version to 1.2.131.2.13Eivind Fonn
2017-02-15Add note about authors in evil.elEivind Fonn
2017-02-08further update information about evil's new home.Filipe Correa Lima da Silva
2017-01-31Fix repo url in commentary sectionDiego A. Mundo
#753
2016-04-05Merge stableFrank Fischer
2016-04-05update version to 1.2.121.2.12Frank Fischer
2016-04-03Replace `@` by ` at ` in all author email addressesFrank Fischer
2016-04-03Add Alexander Baier to authors listFrank Fischer
2016-03-12Add Rodrigo Setti to authors listFrank Fischer
2016-03-10Move definition of evil-modejustbur
evil-mode was defined last in the loading sequence, after an advice had been defined for it, which raised a warning at load time. There does not seem to be any reason to defer defining evil-mode to the end of the load sequence as it just defines a minor mode and all of the constituent functions have been defined at this point.
2016-03-07Merge with stableFrank Fischer
2016-03-07update version to 1.2.111.2.11Frank Fischer
2016-02-08replace existing jump list functionality with evil-jumperBailey Ling
2016-02-08Add Bailey Ling to authors listFrank Fischer
2016-02-08Add Eugene Yaremenko to authors listFrank Fischer
2016-01-18Merge stableFrank Fischer
2016-01-18update version to 1.2.101.2.10Frank Fischer
2016-01-16Merge stableFrank Fischer
2016-01-11update version to 1.2.91.2.9Frank Fischer
2016-01-05Merge PR #27Frank Fischer
2016-01-05Add Justin Burkett to authors listFrank Fischer
2016-01-05Merge stableFrank Fischer
2015-11-09update version to 1.2.81.2.8Frank Fischer
2015-11-08Merge stableFrank Fischer
2015-11-02update version to 1.2.71.2.7Frank Fischer
2015-10-26Merge stableFrank Fischer
2015-10-26update version to 1.2.61.2.6Frank Fischer
2015-10-25Add email address for Vasilij SchneidermannFrank Fischer
2015-09-28Merge stableFrank Fischer