emacs/lisp/emacs-lisp
Vincent Belaïche 5b6fc8ebfc ert-play-keys function
* 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.
2026-04-16 13:30:42 +02:00
..
advice.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
avl-tree.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
backquote.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
backtrace.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
benchmark.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
bindat.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
byte-opt.el Add predicate for initial_terminal 2026-03-26 15:19:56 +01:00
byte-run.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
bytecomp.el Use the new error API functions 2026-03-10 10:48:21 -04:00
cconv.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
chart.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
check-declare.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
checkdoc.el New function 'checkdoc-batch' (bug#80199) 2026-01-30 09:41:42 +02:00
cl-extra.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cl-generic.el Fix recent test suite regression (bug#80177) 2026-01-11 18:26:53 -05:00
cl-indent.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cl-lib.el Rename 'any' to 'member-if' and deprecate 'cl-member-if' 2026-03-04 14:43:05 +00:00
cl-macs.el lisp/emacs-lisp/cl-macs.el (cl-typep): Undo accidental change 2026-04-08 16:38:19 -04:00
cl-preloaded.el (natnum, keyword, command): Fix bootstrap warnings (bug#80732) 2026-04-08 15:01:46 -04:00
cl-print.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cl-seq.el cl-seq.el: Prefer :test to :if 2026-03-08 14:20:44 -04:00
comp-common.el * Fix 'message' function signature 2026-01-15 11:08:20 +01:00
comp-cstr.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
comp-run.el Handle compressed filenames in `native--compile-async-skip-p' (bug#57627) 2026-03-11 21:59:27 +13:00
comp.el Merge remote-tracking branch 'origin/scratch/error-API' 2026-03-15 17:17:21 -04:00
compat.el ; Update "Maintainers" header for compat.el 2026-02-28 10:50:55 +01:00
cond-star.el Fix (or ...) patterns in 'cond*'/'match*' 2026-02-28 15:43:55 +02:00
copyright.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
crm.el completing-read-multiple: Implement on top of completing-read 2026-02-08 16:02:41 -05:00
cursor-sensor.el cursor-sensor.el: Partial fix for bug#80255 2026-03-20 23:18:29 -04:00
debug-early.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
debug.el Add predicate for initial_terminal 2026-03-26 15:19:56 +01:00
derived.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
disass.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
easy-mmode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
easymenu.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
edebug.el Use the new error API functions 2026-03-10 10:48:21 -04:00
eieio-base.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eieio-core.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eieio-custom.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eieio-datadebug.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eieio-opt.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eieio-speedbar.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eieio.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eldoc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
elisp-scope.el elisp-scope.el: Add variable value specifications 2026-02-18 19:42:47 +01:00
elp.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ert-font-lock.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ert-x.el ert-play-keys function 2026-04-16 13:30:42 +02:00
ert.el ert-play-keys function 2026-04-16 13:30:42 +02:00
ewoc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
faceup.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
find-func.el Fix "Narrowing src/ file breaks xref" 2026-04-09 05:57:52 +03:00
float-sup.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
generate-lisp-file.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
generator.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
generic.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
gv.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
helper.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
hierarchy.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
icons.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
inline.el ; * lisp/emacs-lisp/inline.el (define-inline): Fix Info link (bug#80122). 2026-01-03 17:31:15 +02:00
let-alist.el ; Minor doc improvements for 'let-alist'. 2026-03-15 13:15:36 +01:00
lisp-mnt.el Don't load package just for lm-package-needs-footer-line 2026-04-07 15:37:35 -04:00
lisp-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lisp.el Use single-arg form of signal to re-throw an error 2026-03-10 10:48:22 -04:00
loaddefs-gen.el (loaddefs-generate--make-autoload): Avoid %s on compound values 2026-04-13 17:02:27 -04:00
macroexp.el Don't complain on compiler-macro arity mismatch 2026-03-02 21:36:19 +01:00
map-ynp.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
map.el ; Improve documentation of map.el methods 2026-04-14 19:41:23 +03:00
memory-report.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
multisession.el Use single-arg form of signal to re-throw an error 2026-03-10 10:48:22 -04:00
nadvice.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
oclosure.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
package-activate.el Do not initialize Info during package activation 2026-03-11 22:12:55 +01:00
package-vc.el Add references to "User Lisp" Info node where applicable 2026-03-14 16:17:51 +01:00
package.el Clean up 'Info-directory-list' after deleting package 2026-04-12 13:10:57 +02:00
pcase.el (pcase--subtype-bitsets): Make it a bit more precise 2026-01-27 11:17:37 -05:00
pp.el ; pp-eval-expression: Restore binding deactivate-mark to nil. 2026-02-24 09:08:24 +00:00
radix-tree.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
range.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
re-builder.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
regexp-opt.el ; * lisp/emacs-lisp/regexp-opt.el (regexp-opt-group): Clarify intent. 2026-01-14 19:53:23 +01:00
regi.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ring.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rmc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rx.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
seq.el Improve documentation of 'seq-difference' 2026-01-31 16:08:52 +02:00
shadow.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
shortdoc-doc.el ; Fix some shortdoc issues unearthed by `shortdoc--check' 2026-03-25 22:38:38 +01:00
shortdoc.el Split up shortdoc functions and groups, fix their format 2026-03-25 22:31:57 +01:00
shorthands.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
smie.el Fix typo in smie-rules-function documentation 2026-02-11 15:35:29 -05:00
subr-x.el ; Minor changes to 'truncate-string-pixelwise' (bug#80244) 2026-02-07 14:49:15 +02:00
syntax.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tabulated-list.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tcover-ses.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
testcover.el Compare circular lists in 'equal' without error (bug#80456) 2026-02-24 12:47:52 +01:00
text-property-search.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
thunk.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
timeout.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
timer-list.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
timer.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tq.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
trace.el trace.el: Avoid inf-loops when tracing "core functions" 2026-01-08 17:50:25 -05:00
track-changes.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
unsafep.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
vtable.el vtable truncate-string-pixelwise, ellipsis can be a string (bug#80026) 2026-03-21 12:50:04 +02:00
warnings.el Add predicate for initial_terminal 2026-03-26 15:19:56 +01:00