aboutsummaryrefslogtreecommitdiff
path: root/evil-repeat.el
AgeCommit message (Collapse)Author
2025-02-26Correct typos in evil-repeat.elCampbell Barton
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`.
2024-04-16treewide: replace `(eq/equal foo nil)` with `(null foo)`Konstantin Kharlamov
2024-03-24Handle args-out-of-range error in evil-repeat-startTom Dalziel
Fixes #1110
2023-08-07Better follow conventions for ' in docstringsStefan Monnier
Also try and make the docstring fit within 80 columns. This fixes some incorrect uses and eliminates some warnings.
2023-07-02Remove evil-repeat-start-hookAxel Forsman
It was a no-op since (evil-repeat-type this-command t) does not returns t, and otherwise the call to evil-repeat-start would overwrite changes done by (funcall repeat-type 'pre) in evil-repeat-pre-hook.
2023-07-02Store command properties as symbol propertyAxel Forsman
Also replace a few calls to evil-filter-list that destructively modified user-provided lists with cl-remove-if.
2023-03-04Remove evil-last-read-digraph-char hackAxel Forsman
With the Evil repeat system now aware of read-key, there is no need for the digraph repeat workaround introduced by commit dba2fa9907cf096f5e615df2e8b0381b643d47ee.
2023-03-04Advise read-key as well as read-key-sequenceWilliam G Hatch
2022-09-29doc: follow the Emacs Lisp Style Guidedalu
2022-09-26Store digraph character directly for repetitionTom Dalziel
Fixes #1675
2022-04-25Bump version to 1.15.0Tom Dalziel
2021-10-04Fix compiler warnings (#1525)Tom Dalziel
2021-05-27Repeat when execute in normal state (#1467)Tom Dalziel
* Handle `execute-kbd-macro`'s nil value for `this-command` * Handle repeating of execute-normal commands earlier in insert
2021-04-01Save and restore `evil-last-find` when doing `evil-repeat` (#1445)Tom Dalziel
2020-03-04Bump version to 1.14.01.14.0Eivind Fonn
2020-02-03Clean up compilation warnings from lexical bindingEivind Fonn
2020-01-29Re-enable lexical bindingEivind Fonn
This reverts commit e9391ae769bee189ef6144b8861b117d5c948a80, and removes spurious debug messages.
2020-01-28Revert "Enable lexical binding"Eivind Fonn
This reverts commit c6086a7b0b44963071096e3ed7545f617de88915.
2020-01-28Enable lexical bindingEivind 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-11-20Ignore mouse events for repeat infoVasilij Schneidermann
Closes #939
2019-01-04Bump version to 1.2.141.2.14Eivind Fonn
2017-10-02update version to 1.2.131.2.13Eivind Fonn
2017-05-31Fix typoVasilij Schneidermann
2017-02-09Possible fix for prefix arg change in this-command-keysJustin Burkett
Emacs 25.1 no longer records prefix-args in this-command-keys, breaking evil-repeat. This change tries to fix that by adding back the prefix arg when appropriate using evil-this-command-keys. All tests pass on my machine on Emacs 25.1 and 24.5 with this patch. See #731
2016-04-05Merge stableFrank Fischer
2016-04-05update version to 1.2.121.2.12Frank Fischer
2016-03-07Merge with stableFrank Fischer
2016-03-07update version to 1.2.111.2.11Frank Fischer
2016-02-09Second attempt at solving #613 (slow scrolling/visual in big files)Kevin Brubeck Unhammer
Now uses a wrapper around count-lines to avoid the off-by-one's (issue #615).
2016-02-09Backed out changeset 26eeb5f4f725 (fix #615)Frank Fischer
2016-01-29count-lines *much* faster than subtracting line-number-at'sunhammer
2016-01-18update version to 1.2.101.2.10Frank Fischer
2016-01-11update version to 1.2.91.2.9Frank Fischer
2015-11-09update version to 1.2.81.2.8Frank Fischer
2015-11-02update version to 1.2.71.2.7Frank Fischer
2015-10-26update version to 1.2.61.2.6Frank Fischer
2015-09-28update version to 1.2.51.2.5Frank Fischer
2015-09-13update version to 1.2.41.2.4Frank Fischer
2015-08-16update version to 1.2.31.2.3Frank Fischer
2015-08-09update version to 1.2.21.2.2Frank Fischer
2015-07-04update version to 1.2.11.2.1Frank Fischer
2015-07-04update version to 1.2.01.2.0Frank Fischer
2015-05-11update version to 1.1.61.1.6Frank Fischer
2015-05-10update version to 1.1.51.1.5Frank Fischer
2015-05-03update version to 1.1.41.1.4Frank Fischer
2015-04-26update version to 1.1.3Frank Fischer