aboutsummaryrefslogtreecommitdiffstats
path: root/doc/translations
diff options
context:
space:
mode:
authorVincent Belaïche2026-03-29 06:17:55 +0200
committerVincent Belaïche2026-04-16 13:30:42 +0200
commit5b6fc8ebfcd6bce6a0e5fb7160ec7a2aeb561baf (patch)
treec7ecc0994c1d75437cd0e3a380c9cdb4948784e4 /doc/translations
parent1c4c9d759a2e32856db3fd03e906057c8d81fa0e (diff)
downloademacs-master.tar.gz
emacs-master.zip
ert-play-keys functionHEADmaster
* lisp/emacs-lisp/ert-x.el (ert-play-keys): new defun. * test/lisp/simple-tests.el (undo-test-kill-c-a-then-undo) (undo-test-point-after-forward-kill): Use new function `ert-play-keys' and `(ert-with-test-buffer (:selected t) ...)' rather (with-temp-buffer (switch-to-buffer (current-buffer) ...)'. * test/lisp/erc/erc-scenarios-spelling.el (erc-scenarios-spelling--auto-correct): Use new function `ert-play-keys' and `(ert-with-buffer-selected ...)' rather than `execute-kbd-macro' and `(with-current-buffer ... (set-window-buffer nil (current-buffer) ...)'. * doc/misc/ert.texi (Helper Functions): Document ert-play-keys, and differences between ert-simulate-command, ert-simulate-keys & ert-play-keys. * test/lisp/emacs-lisp/ert-x-tests.el (ert-x-tests-play-keys) (ert-x-tests-simulate-command, ert-x-tests-simulate-keys): New tests.
Diffstat (limited to 'doc/translations')
0 files changed, 0 insertions, 0 deletions