1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
emacs/test/lisp/eshell
Jim Porter 7b0f24ab1f Fix behavior of 'eshell-hist-ignoredups' when set to 'erase'
* lisp/eshell/em-hist.el (eshell-add-input-to-history): Refactor to
use 'pcase' and correct the logic for the 'erase' case.

* test/lisp/eshell/em-hist-tests.el: Require our test helpers.
(eshell-write-readonly-history): Rename to...
(em-hist-test/write-readonly-history): ... this.
(em-hist-test/add-to-history/allow-dups)
(em-hist-test/add-to-history/no-consecutive-dups)
(em-hist-test/add-to-history/erase-dups): New tests (bug#63360).
2023-08-23 18:27:45 -07:00
..
em-alias-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-basic-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-cmpl-tests.el Avoid parsing some Eshell forms when performing completion 2023-03-28 12:03:29 -07:00
em-dirs-tests.el Fix listing of directory contents after "cd" in Eshell 2023-08-07 19:35:43 -07:00
em-extpipe-tests.el ; Fix Eshell tests 2023-08-14 09:20:34 -07:00
em-glob-tests.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-hist-tests.el Fix behavior of 'eshell-hist-ignoredups' when set to 'erase' 2023-08-23 18:27:45 -07:00
em-ls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt-tests.el eshell-next-prompt: More precisely navigate to the prompt (bug#63748) 2023-06-15 09:40:12 -07:00
em-script-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-tramp-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-unix-tests.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
esh-arg-tests.el Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
esh-cmd-tests.el Avoid shadowing variables in some Eshell command forms 2023-04-01 16:24:31 -07:00
esh-ext-tests.el Add support for explicitly-remote commands in Eshell 2023-07-10 12:27:09 -07:00
esh-io-tests.el Use generics to define Eshell output targets 2023-08-21 11:43:24 -07:00
esh-opt-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-proc-tests.el ; Add tests for synchronous processes in Eshell 2023-04-02 14:15:45 -07:00
esh-util-tests.el Fix eshell "ls" command for files larger than 1TiB 2023-08-05 17:57:53 +02:00
esh-var-tests.el Support 'comint-pager' in Eshell 2023-08-23 16:46:25 -07:00
eshell-tests-helpers.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
eshell-tests-unload.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
eshell-tests.el ; Fix Eshell tests 2023-08-14 09:20:34 -07:00